Merge PR #215: Update simulation tests

This commit is contained in:
Federico Kunze
2019-12-19 13:02:59 -03:00
committed by Alexander Bezobchuk
parent 10493a8d0d
commit ebfbd95dc0
7 changed files with 273 additions and 373 deletions

View File

@@ -38,7 +38,7 @@ func TestBlackListedAddrs(t *testing.T) {
func setGenesis(gapp *GaiaApp) error {
genesisState := simapp.NewDefaultGenesisState()
stateBytes, err := codec.MarshalJSONIndent(gapp.cdc, genesisState)
stateBytes, err := codec.MarshalJSONIndent(gapp.Codec(), genesisState)
if err != nil {
return err
}