-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Service] Add owner_address
to the Service type
#714
Conversation
WalkthroughThe recent updates introduce an Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
api/poktroll/shared/service.pulsar.go (1)
2826-2830
: Add clarity to the comments.The comments for the
OwnerAddress
field are clear but could be made more concise and precise.- // It is the address that receives rewards based on the Service's on-chain usage - // It is the only address that can update the service configuration (e.g. compute_units_per_relay), - // or make other updates to it. + // The address receives rewards based on the Service's on-chain usage. + // This address is the only one authorized to update the service configuration (e.g., compute_units_per_relay) or make other updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, mostly about service update.
Otherwise glad to see all of this coming-up together 👍
Co-authored-by: Redouane Lakrache <[email protected]>
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. You may need to run GCP workloads (requires changing the namespace to 714) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Approving
- Add `owner_address` to the `Service` proto - Add tests ensuring that it is the correct & expected value - Set up work for `updating services` that @adshmh will be working on Co-authored-by: Redouane Lakrache <[email protected]>
Summary
owner_address
to theService
protoupdating services
that @adshmh will be working onType of change
Select one or more:
Testing
make docusaurus_start
; only needed if you make doc changesmake go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR.make trigger_ci
if you want to re-trigger tests without any code changesSanity Checklist
Summary by CodeRabbit
New Features
OwnerAddress
field to the service structure, enhancing service ownership management and reward distribution.Bug Fixes
Tests
Chores