Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(registry) fix: unitType to update hash for agents and components #85

Merged
merged 8 commits into from
Aug 27, 2024

Conversation

mohandast52
Copy link
Collaborator

@mohandast52 mohandast52 commented Aug 27, 2024

Fixes

  • The update hash for agents wasn’t working because the unitType was set to “0”. I’ve updated the code to address this and added a constant to prevent the use of hardcoded values in the future.​
  • Removed all duplicate UNIT_TYPES across all the apps and added a single source of truth.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@mohandast52 mohandast52 self-assigned this Aug 27, 2024
Copy link

vercel bot commented Aug 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bond ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm
govern ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm
launch ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm
operate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm
registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm
tokenomics ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 3:25pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants