diff --git a/internal/app/genesis.go b/internal/app/genesis.go index 954dc522..2f4cd056 100644 --- a/internal/app/genesis.go +++ b/internal/app/genesis.go @@ -7,6 +7,7 @@ import ( "encoding/json" "errors" "fmt" + "time" "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/pflag" @@ -177,6 +178,8 @@ func KavaAppGenState(cdc *wire.Codec, appGenTxs []json.RawMessage) (genesisState stakeData := stake.DefaultGenesisState() // change denom of staking coin stakeData.Params.BondDenom = "KVA" + // drastically shorten unbonding time for test purposes + stakeData.Params.UnbondingTime = time.Second * 60 * 5 // 5 minutes // get genesis flag account information genaccs := make([]GenesisAccount, len(appGenTxs))