-
Notifications
You must be signed in to change notification settings - Fork 15
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: Staking reward generation through inflation #1052
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…iota-treasury-cap [Task (SC-Platform)]: Retain the TreasuryCap of the IOTA token from genesis and place it into the system object.
…-parameters feat(iota-types): staking params were changed according new requirements
…latform/945-mint-and-burn-rewards
…easury-cap feat: implemented IotaTreasuryCap
…latform/945-mint-and-burn-rewards
* feat: Set disabling params for stake subsidies * feat: Never pay out rewards from stake subsidies * fix: Remove stake subsidy start epoch overwrite completely
…m advance_epoch signature
…fund_reinvest_rate feat(iota-protocol-config): disabling storage_fund_reinvest_rate
Blocked by #1173 |
* fix(iota-core): fixing non_refundable_storage_fee related tests cargo clippy fixes cargo fmt broken tests ignoring
Checked, the test validator works. |
lzpap
previously approved these changes
Jul 22, 2024
miker83z
previously approved these changes
Jul 22, 2024
miker83z
approved these changes
Jul 23, 2024
lzpap
approved these changes
Jul 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a big feature, thanks for coordinating it @valeriyr!
alexsporn
pushed a commit
that referenced
this pull request
Sep 6, 2024
feat: Staking reward generation through inflation
alexsporn
pushed a commit
that referenced
this pull request
Sep 6, 2024
feat: Staking reward generation through inflation
alexsporn
pushed a commit
that referenced
this pull request
Sep 6, 2024
feat: Staking reward generation through inflation
alexsporn
pushed a commit
that referenced
this pull request
Sep 9, 2024
feat: Staking reward generation through inflation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
This PR introduces a staking reward generation mechanism based on IOTA inflation/deflation.
The following changes were made:
IotaTreasuryCap
was introduced to protect the IOTA token from being minted/burnt by an unauthorized address. It is placed in theIotaSystemStateInnerV2
structure and can be used only by the system address in theiota_system::iota_system_state_inner
module. Also, changed the executor conservation checks to make it possible to mint/burn tokens during epoch change transactions.iota-protocol-config
. The logic is partially removed from the Move framework. Created an additional issue [Task (SC-Platform)]: Get rid of reinvestment in the codebase #1005.storage_rebate_rate
protocol parameter was set to100%
.storage_fund
.storage_fund
balance.computation_reward
.Links to any relevant issues
fixes #153
Type of change
Choose a type of change, and delete any options that are not relevant.
How the change has been tested
Autotests.