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

Update aptos-core, use 0 as the reward percentage #220

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

mzabaluev
Copy link
Collaborator

@mzabaluev mzabaluev commented Jul 17, 2024

Summary

  • Categories: protocol-units.

After movementlabsxyz/aptos-core#45, the rewards_apy_percentage field in the genesis configuration is used to calculate the rewards without Movement-specific hacks, but this means it has to be set to 0 for our purposes.

Changelog

  • In the Aptos genesis configuration, the rewards_apy_percentage parameter is set to 0 to represent the reality of not using rewards on Aptos blockchain level.

Testing

Currently run tests should pass.

@@ -58,7 +58,7 @@ impl Executor {
max_stake: 100_000_000_000_000,
recurring_lockup_duration_secs: EPOCH_DURATION_SECS * 2,
required_proposer_stake: 0,
rewards_apy_percentage: 10,
rewards_apy_percentage: 0,
Copy link
Collaborator

Choose a reason for hiding this comment

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

As advertised.

@l-monninger l-monninger merged commit 34babe0 into main Jul 18, 2024
34 checks passed
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