Skip to content

Commit d56b26f

Browse files
committed
chore: set deps for cometbft v1.0.1
remove penumbra from chainspec, has too much deps to the old tm types
1 parent 9d419fa commit d56b26f

File tree

51 files changed

+381
-151564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+381
-151564
lines changed

blockdb/test_case.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func CreateTestCase(ctx context.Context, db *sql.DB, testName, gitSha string) (*
2929

3030
// AddChain tracks and attaches a chain to the test case.
3131
// The chainID must be unique per test case. E.g. osmosis-1001, cosmos-1004
32-
// The chainType denotes which ecosystem the chain belongs to. E.g. cosmos, penumbra, composable, etc.
32+
// The chainType denotes which ecosystem the chain belongs to. E.g. cosmos, composable, etc.
3333
func (tc *TestCase) AddChain(ctx context.Context, chainID, chainType string) (*Chain, error) {
3434
res, err := tc.db.ExecContext(ctx, `INSERT INTO chain(chain_id, chain_type, fk_test_id) VALUES(?, ?, ?)`, chainID, chainType, tc.id)
3535
if err != nil {

blockdb/test_case_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func TestTestCase_AddChain(t *testing.T) {
6363
tc, err := CreateTestCase(ctx, db, "SomeTest", "abc")
6464
require.NoError(t, err)
6565

66-
chain, err := tc.AddChain(ctx, "my-chain1", "penumbra")
66+
chain, err := tc.AddChain(ctx, "my-chain1", "kowabunga")
6767
require.NoError(t, err)
6868
require.NotNil(t, chain)
6969

@@ -77,7 +77,7 @@ func TestTestCase_AddChain(t *testing.T) {
7777
err = row.Scan(&gotChainID, &gotChainType, &gotTestID, &gotPrimaryKey)
7878
require.NoError(t, err)
7979
require.Equal(t, "my-chain1", gotChainID)
80-
require.Equal(t, "penumbra", gotChainType)
80+
require.Equal(t, "kowabunga", gotChainType)
8181
require.Equal(t, 1, gotTestID)
8282
require.EqualValues(t, 1, gotPrimaryKey)
8383

chain/cosmos/chain_node.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (tn *ChainNode) NewClient(addr string) error {
146146
}
147147

148148
httpClient.Timeout = 10 * time.Second
149-
rpcClient, err := rpchttp.NewWithClient(addr, "/websocket", httpClient)
149+
rpcClient, err := rpchttp.NewWithClient(addr, httpClient)
150150
if err != nil {
151151
return err
152152
}
@@ -468,7 +468,7 @@ func (tn *ChainNode) FindTxs(ctx context.Context, height int64) ([]blockdb.Tx, e
468468
}
469469
newTx.Data = b
470470

471-
rTx := blockRes.TxsResults[i]
471+
rTx := blockRes.TxResults[i]
472472

473473
newTx.Events = make([]blockdb.Event, len(rTx.Events))
474474
for j, e := range rTx.Events {

chain/internal/tendermint/tendermint_node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (tn *TendermintNode) NewClient(addr string) error {
115115
}
116116

117117
httpClient.Timeout = 10 * time.Second
118-
rpcClient, err := rpchttp.NewWithClient(addr, "/websocket", httpClient)
118+
rpcClient, err := rpchttp.NewWithClient(addr, httpClient)
119119
if err != nil {
120120
return err
121121
}

0 commit comments

Comments
 (0)