diff --git a/e2e/testing/chain.go b/e2e/testing/chain.go index ce06ec3..8052a90 100644 --- a/e2e/testing/chain.go +++ b/e2e/testing/chain.go @@ -72,14 +72,14 @@ func NewTestChain(t *testing.T, chainIdx int, opts ...interface{}) *TestChain { // Split options by groups (each group is applied in a different init step) var chainCfgOpts []TestChainConfigOption - var consensusParamsOpts []TestChainConsensusParamsOption + //var consensusParamsOpts []TestChainConsensusParamsOption var genStateOpts []TestChainGenesisOption for i, opt := range opts { switch opt := opt.(type) { case TestChainConfigOption: chainCfgOpts = append(chainCfgOpts, opt) - case TestChainConsensusParamsOption: - consensusParamsOpts = append(consensusParamsOpts, opt) + // case TestChainConsensusParamsOption: + // consensusParamsOpts = append(consensusParamsOpts, opt) case TestChainGenesisOption: genStateOpts = append(genStateOpts, opt) default: diff --git a/e2e/testing/client.go b/e2e/testing/client.go index 373987e..609a531 100644 --- a/e2e/testing/client.go +++ b/e2e/testing/client.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - abci "github.com/tendermint/tendermint/abci/types" "github.com/cosmos/cosmos-sdk/codec" + abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc" "github.com/dymensionxyz/rollapp-wasm/app" @@ -27,7 +27,7 @@ func (c grpcClient) Invoke(ctx context.Context, method string, args, reply inter }) if resp.Code != abci.CodeTypeOK { - return fmt.Errorf(resp.Log) + return fmt.Errorf("query response: %s", resp.Log) } c.app.AppCodec().MustUnmarshal(resp.Value, reply.(codec.ProtoMarshaler))