Skip to content

Commit

Permalink
fix: ethermint test
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Sep 18, 2024
1 parent bff04f0 commit 0f260ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/cosmos/ethermint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestEthermintChain(t *testing.T) {
require.Equal(t, "10000000000", balance.String())

// verify access to port exposed via ExposeAdditionalPorts
evmJsonRpcUrl, err := chain.FullNodes[0].GetHostAddress(ctx, "8545/tcp")
evmJsonRpcUrl, err := chain.GetNode().GetHostAddress(ctx, "8545/tcp")
require.NoError(t, err)

data := []byte(`{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["0x1", null]}`)
Expand Down
6 changes: 2 additions & 4 deletions examples/ibc/ics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (

var (
icsVersions = []string{"v3.1.0", "v3.3.0", "v4.0.0"}
vals = 2
fNodes = 0
providerChainID = "provider-1"
)

Expand Down Expand Up @@ -67,12 +65,12 @@ func icsTest(t *testing.T, version string, rly ibc.RelayerImplementation) {
cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
{
Name: "ics-provider", Version: version,
NumValidators: &vals, NumFullNodes: &fNodes,
NumValidators: &numVals, NumFullNodes: &numFullNodes,
ChainConfig: ibc.ChainConfig{GasAdjustment: 1.5, ChainID: providerChainID, TrustingPeriod: "336h"},
},
{
Name: "ics-consumer", Version: version,
NumValidators: &vals, NumFullNodes: &fNodes,
NumValidators: &numVals, NumFullNodes: &numFullNodes,
ChainConfig: ibc.ChainConfig{GasAdjustment: 1.5, ChainID: "consumer-1", Bech32Prefix: consumerBechPrefix, InterchainSecurityConfig: ibc.ICSConfig{
ConsumerCopyProviderKey: func(i int) bool {
return i == 0
Expand Down

0 comments on commit 0f260ba

Please sign in to comment.