Skip to content

fix: gensis validator power#1340

Merged
karlem merged 5 commits intomainfrom
bernhard-incdec
Jun 3, 2025
Merged

fix: gensis validator power#1340
karlem merged 5 commits intomainfrom
bernhard-incdec

Conversation

@drahnr
Copy link
Copy Markdown
Contributor

@drahnr drahnr commented Apr 23, 2025

This change is Reviewable

@drahnr drahnr requested a review from a team as a code owner April 23, 2025 12:48
Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol Outdated
Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol
@drahnr drahnr force-pushed the bernhard-incdec branch from 2d80142 to f81197d Compare May 20, 2025 06:24
Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol
Copy link
Copy Markdown
Contributor

@karlem karlem left a comment

Choose a reason for hiding this comment

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

It would be good to write simple tests for both functions and besides of the comments I left we could also:

  1. Emit an event when the genesis amount increases or decreases (not mandatory)
  2. Decides whether we want to remove the validator from list if the weight is 0?

Both are not mandatory.

Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol Outdated
Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol Outdated
@phutchins phutchins self-requested a review June 2, 2025 16:45
@karlem karlem force-pushed the bernhard-incdec branch from 284eedc to 7698c2a Compare June 2, 2025 18:23
Comment thread contracts/contracts/subnet/SubnetActorManagerFacet.sol Outdated
@karlem karlem merged commit 017bfad into main Jun 3, 2025
16 checks passed
@karlem karlem deleted the bernhard-incdec branch June 3, 2025 19:42
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.

3 participants