Skip to content

Commit

Permalink
remove useless logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-zq committed Apr 18, 2024
1 parent 0d5b9a3 commit dbeca91
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cmd/iris/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,17 +249,13 @@ func InitTestnet(
return err
}

accTokens := sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction)
accStakingTokens := sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction)
accEvmTokens := sdk.TokensFromConsensusPower(5000, PowerReduction)
accIrisTokens := sdk.TokensFromConsensusPower(5000, sdk.DefaultPowerReduction)
accStakingTokens := sdk.TokensFromConsensusPower(15e8, sdk.DefaultPowerReduction)
accEvmTokens := sdk.TokensFromConsensusPower(5e8, PowerReduction)

coins := sdk.Coins{
sdk.NewCoin(fmt.Sprintf("%stoken", nodeDirName), accTokens),
coins := sdk.NewCoins(
sdk.NewCoin(sdk.DefaultBondDenom, accStakingTokens),
sdk.NewCoin(iristypes.EvmToken.MinUnit, accEvmTokens),
sdk.NewCoin(nativeIrisMinUnit, accIrisTokens),
}
)

genBalances = append(
genBalances,
Expand Down

0 comments on commit dbeca91

Please sign in to comment.