(seal bool)
| 24 | ) |
| 25 | |
| 26 | func SetConfig(seal bool) { |
| 27 | config := sdk.GetConfig() |
| 28 | config.SetBech32PrefixForAccount(AccountAddressPrefix, AccountPubKeyPrefix) |
| 29 | config.SetBech32PrefixForValidator(ValidatorAddressPrefix, ValidatorPubKeyPrefix) |
| 30 | config.SetBech32PrefixForConsensusNode(ConsNodeAddressPrefix, ConsNodePubKeyPrefix) |
| 31 | if seal { |
| 32 | config.Seal() |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | type TestCase interface { |
| 37 | GetMsgAndArgs(iArgs CommonArgs) (sdk.Msg, Args) |