-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'brent/refactor-shielded-inflation' (#2460)
* origin/brent/refactor-shielded-inflation: fixup! rebuild masp proofs changelog: add #2460 fix masp tests rebuild masp proofs need denom to write correct target inflation amount fix `Amount` param parsing in toml for PoS masp locked amount param: use u64 in config tomls and `Amount` in storage and usage separate masp and pos rewards controllers
- Loading branch information
Showing
50 changed files
with
256 additions
and
173 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/2460-refactor-shielded-inflation.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- MASP inflation for a given token now is adjusted based on a target amount | ||
of total locked (shielded) tokens rather than a ratio relative to some total | ||
supply. ([\#2460](https://github.com/anoma/namada/pull/2460)) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -435,6 +435,7 @@ where | |
masp_params, | ||
&mut self.wl_storage, | ||
address, | ||
denom, | ||
) | ||
.unwrap(); | ||
if masp_params.is_some() { | ||
|
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
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
Oops, something went wrong.