diff --git a/app/ibctesting/chain.go b/app/ibctesting/chain.go index 03b1ed402..48c4fdc46 100644 --- a/app/ibctesting/chain.go +++ b/app/ibctesting/chain.go @@ -98,7 +98,7 @@ func NewTestChain(t *testing.T, coord *Coordinator, chainID string) *TestChain { // generate genesis account senderPrivKey := secp256k1.GenPrivKey() acc := authtypes.NewBaseAccount(senderPrivKey.PubKey().Address().Bytes(), senderPrivKey.PubKey(), 0, 0) - amount, ok := sdk.NewIntFromString("10000000000000000000") + amount, ok := sdk.NewIntFromString("10000000000000000000000") require.True(t, ok) balance := banktypes.Balance{ diff --git a/app/test_helpers.go b/app/test_helpers.go index 50fdb8c2d..5c627849c 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -100,7 +100,7 @@ func SetupWithGenesisValSet( validators := make([]stakingtypes.Validator, 0, len(valSet.Validators)) delegations := make([]stakingtypes.Delegation, 0, len(valSet.Validators)) - bondAmt := sdk.NewInt(1000000) + bondAmt := sdk.NewInt(1000000000000) for _, val := range valSet.Validators { pk, err := cryptocodec.FromTmPubKeyInterface(val.PubKey)