Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request: change amount of original minted per block from 0…
Browse files Browse the repository at this point in the history
….05 to 0.5 (#47)

Co-authored-by: meng <[email protected]>
  • Loading branch information
xiangjianmeng and meng authored Nov 7, 2020
1 parent dcbd83e commit c0d53ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/mint/beginBlocker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestMintZero(t *testing.T) {
mapp, _ := getMockApp(t, 1, balance, mintParams)

var curHeight int64 = 2
for ; curHeight < 700; curHeight++ {
for ; curHeight < 1000; curHeight++ {
mapp.BeginBlock(abci.RequestBeginBlock{Header: abci.Header{Height: curHeight}})
mapp.EndBlock(abci.RequestEndBlock{Height: curHeight})
mapp.Commit()
Expand Down
2 changes: 1 addition & 1 deletion x/mint/internal/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (k Keeper) SetOriginalMintedPerBlock(originalMintedPerBlock sdk.Dec) {
}

func DefaultOriginalMintedPerBlock() sdk.Dec {
return sdk.MustNewDecFromStr("0.05")
return sdk.MustNewDecFromStr("0.5")
}

// ValidateMinterCustom validate minter
Expand Down

0 comments on commit c0d53ef

Please sign in to comment.