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

Fix moonbeam chain spec customizations #1957

Merged
merged 3 commits into from
Feb 12, 2025

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Feb 11, 2025

The moonbeam customizations were not correct when using moonbeam-local chain specification. The reason is that moonbeam uses a SUPPLY_FACTOR of 100, while moonbase and moonriver have a supply factor of 1. This was causing the reservedBalance to be incorrect.

The fix included in this PR, increases stakingBond and reservedBalance default values to a reasonable amount and overrides the balance of the collator if it is not enough to cover the staking bond and the authoring deposit.

@RomarQ RomarQ requested a review from pepoviola as a code owner February 11, 2025 20:27
Copy link
Collaborator

@pepoviola pepoviola left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!!

@RomarQ
Copy link
Contributor Author

RomarQ commented Feb 12, 2025

Hi @pepoviola,

Do you plan to do a new zombienet release this week?

@pepoviola pepoviola merged commit dbb03a4 into paritytech:main Feb 12, 2025
18 of 19 checks passed
@pepoviola
Copy link
Collaborator

Hi @pepoviola,

Do you plan to do a new zombienet release this week?

Yes, I will release a new version today.
Thanks!!

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