Skip to content

Commit

Permalink
typo: SimdVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 18, 2024
1 parent 4b1b5e8 commit 797e60d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions cmd/interchaintest/interchaintest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func setUpTestMatrix() error {
testMatrix.Relayers = []string{"rly", "hermes"}
testMatrix.ChainSets = [][]*interchaintest.ChainSpec{
{
{Name: testutil.TestSimd, Version: testutil.SimdVerion, ChainName: "c1", NumValidators: &numValsOne, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, Version: testutil.SimdVerion, ChainName: "c2", NumValidators: &numValsOne, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, ChainName: "c1", NumValidators: &numValsOne, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, ChainName: "c2", NumValidators: &numValsOne, NumFullNodes: &numFullNodesZero},
},
}

Expand Down
4 changes: 2 additions & 2 deletions examples/cosmos/blockdb_messages_view_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func TestBlockDBMessagesView(t *testing.T) {
const chainID0 = "c0"
const chainID1 = "c1"
cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
{Name: testutil.TestSimd, Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: chainID0}, NumValidators: &numVals, NumFullNodes: &numFullNodes},
{Name: testutil.TestSimd, Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: chainID1}, NumValidators: &numVals, NumFullNodes: &numFullNodes},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: chainID0}, NumValidators: &numVals, NumFullNodes: &numFullNodes},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: chainID1}, NumValidators: &numVals, NumFullNodes: &numFullNodes},
})

chains, err := cf.Chains(t.Name())
Expand Down
28 changes: 14 additions & 14 deletions interchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func duplicateChainTest(t *testing.T, relayerImpl ibc.RelayerImplementation) {

cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
// Two otherwise identical chains that only differ by ChainID.
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVerion},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVerion},
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVersion},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVersion},
})

chains, err := cf.Chains(t.Name())
Expand Down Expand Up @@ -114,8 +114,8 @@ func getRelayerWalletsTest(t *testing.T, relayerImpl ibc.RelayerImplementation)

cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
// Two otherwise identical chains that only differ by ChainID.
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-2"}},
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-2"}},
})

chains, err := cf.Chains(t.Name())
Expand Down Expand Up @@ -193,7 +193,7 @@ func TestInterchain_CreateUser(t *testing.T) {

cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
// Two otherwise identical chains that only differ by ChainID.
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
})

chains, err := cf.Chains(t.Name())
Expand Down Expand Up @@ -308,7 +308,7 @@ func TestInterchain_ConcurrentRelayerOps(t *testing.T) {
chainSpecs[i] = &interchaintest.ChainSpec{
Name: testutil.TestSimd,
ChainName: fmt.Sprintf("g%d", i+1),
Version: testutil.SimdVerion,
Version: testutil.SimdVersion,
NumValidators: &numValidators,
NumFullNodes: &numFullNodes,
ChainConfig: ibc.ChainConfig{
Expand Down Expand Up @@ -370,8 +370,8 @@ func broadcastTxCosmosChainTest(t *testing.T, relayerImpl ibc.RelayerImplementat

cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
// Two otherwise identical chains that only differ by ChainID.
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-2"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-2"}, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
})

chains, err := cf.Chains(t.Name())
Expand Down Expand Up @@ -457,7 +457,7 @@ func TestInterchain_OmitGitSHA(t *testing.T) {
client, network := interchaintest.DockerSetup(t)

cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{
{Name: testutil.TestSimd, Version: testutil.SimdVerion, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, NumValidators: &numVals, NumFullNodes: &numFullNodesZero},
})

chains, err := cf.Chains(t.Name())
Expand Down Expand Up @@ -485,7 +485,7 @@ func TestInterchain_OmitGitSHA(t *testing.T) {
func TestInterchain_ConflictRejection(t *testing.T) {
t.Run("duplicate chain", func(t *testing.T) {
cf := interchaintest.NewBuiltinChainFactory(zap.NewNop(), []*interchaintest.ChainSpec{
{Name: testutil.TestSimd, Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
})

chains, err := cf.Chains(t.Name())
Expand All @@ -501,8 +501,8 @@ func TestInterchain_ConflictRejection(t *testing.T) {
t.Run("chain name", func(t *testing.T) {
cf := interchaintest.NewBuiltinChainFactory(zap.NewNop(), []*interchaintest.ChainSpec{
// Different ChainID, but explicit ChainName used twice.
{Name: testutil.TestSimd, ChainName: "c", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, ChainName: "c", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}},
{Name: testutil.TestSimd, ChainName: "c", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, ChainName: "c", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-1"}},
})

chains, err := cf.Chains(t.Name())
Expand All @@ -516,8 +516,8 @@ func TestInterchain_ConflictRejection(t *testing.T) {
t.Run("chain ID", func(t *testing.T) {
cf := interchaintest.NewBuiltinChainFactory(zap.NewNop(), []*interchaintest.ChainSpec{
// Valid ChainName but duplicate ChainID.
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVerion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, ChainName: "c1", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
{Name: testutil.TestSimd, ChainName: "c2", Version: testutil.SimdVersion, ChainConfig: ibc.ChainConfig{ChainID: "chain-0"}},
})

chains, err := cf.Chains(t.Name())
Expand Down
4 changes: 2 additions & 2 deletions testutil/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
package testutil

const (
TestSimd = "ibc-go-simd"
SimdVerion = "v8.5.1"
TestSimd = "ibc-go-simd"
SimdVersion = "v8.5.1"
)

0 comments on commit 797e60d

Please sign in to comment.