-
Notifications
You must be signed in to change notification settings - Fork 329
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
feat(node): Add node_reward_type field to AddNodePayload and node config #3116
Conversation
Also update some comments and scripts.
Is this field mandatory? |
@yvonneanne is this description clear enough to answer the question? |
Thanks, that's definitely helpful information but it doesn't entirely answer my question :) The main reason for my question is Utopia. In many Utopia deployments there will be no rewards for nodes and it is not clear from this PR if there will be direct implications for the Utopia team and some provisioning scripts need to be adjusted. Since I don't remember the details of how we set things up, I'll ask Utopia engineers to have a look at the PR and if necessary start a discussion with you. |
Oh now I understand, thanks for the clarification @yvonneanne . If the reward table is not set in the registry the node_reward_type will not be checked in the registry, so node registration should succeed without the |
rs/registry/canister/src/mutations/node_management/do_add_node.rs
Outdated
Show resolved
Hide resolved
rs/registry/canister/src/get_node_providers_monthly_xdr_rewards.rs
Outdated
Show resolved
Hide resolved
perfect, thanks for adding these explanations! |
node_reward_type
, to the node configuration andAddNodePayload
structures.