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

feat: new method set_churn_approver #333

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

Conversation

pablodeymo
Copy link
Collaborator

@pablodeymo pablodeymo commented Feb 7, 2025

Related to #310

What Changed?

Reviewer Checklist

  • New features are tested and documented
  • PR updates the changelog with a description of changes
  • PR has one of the changelog-X labels (if applies)
  • Code deprecates any old functionality before removing it

@pablodeymo pablodeymo changed the base branch from main to dev February 10, 2025 19:48
@pablodeymo pablodeymo marked this pull request as ready for review February 10, 2025 20:28
Comment on lines 728 to 730
let current_churn_approver = regcoord.churnApprover().call().await.unwrap()._0;
let new_churn_approver = FIRST_ADDRESS;
assert_ne!(current_churn_approver, new_churn_approver);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that current_churn_approver is the same as new_churn_approver. Maybe we could use SECOND_ADDRESS instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link

@damiramirez damiramirez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MegaRedHand MegaRedHand changed the title Set churn approver feat: new method set_churn_approver Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants