Skip to content

Commit

Permalink
fix(oracle)fix test network params compatible with ignite
Browse files Browse the repository at this point in the history
  • Loading branch information
leonz789 committed Apr 15, 2024
1 parent 8da02d6 commit 09b30c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/oracle/client/cli/query_validator_update_block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ func networkWithValidatorUpdateBlockObjects(t *testing.T) (*network.Network, typ
buf, err := cfg.Codec.MarshalJSON(&state)
require.NoError(t, err)
cfg.GenesisState[types.ModuleName] = buf
return network.New(t, cfg), *state.ValidatorUpdateBlock
network, err := network.New(t, t.TempDir(), cfg)
require.NoError(t, err)
return network, *state.ValidatorUpdateBlock
}

func TestShowValidatorUpdateBlock(t *testing.T) {
Expand Down

0 comments on commit 09b30c4

Please sign in to comment.