Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/new-ants-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Removing deprecated Cosmos support #nops #removed
1 change: 0 additions & 1 deletion .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ packages:
github.com/smartcontractkit/chainlink/v2/core/services/keystore:
interfaces:
Aptos:
Cosmos:
CSA:
Eth:
Master:
Expand Down
2 changes: 0 additions & 2 deletions core/capabilities/ccip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,6 @@ func (d *Delegate) getTransmitterKeys(ctx context.Context, relayIDs []types.Rela
keys, err = getKeys(d.keystore.Solana())
case relay.NetworkAptos:
keys, err = getKeys(d.keystore.Aptos())
case relay.NetworkCosmos:
keys, err = getKeys(d.keystore.Cosmos())
case relay.NetworkStarkNet:
keys, err = getKeys(d.keystore.StarkNet())
case relay.NetworkTON:
Expand Down
2 changes: 0 additions & 2 deletions core/cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ func NewApp(s *Shell) *cli.App {
initOCRKeysSubCmd(s),
initOCR2KeysSubCmd(s),

keysCommand("Cosmos", NewCosmosKeysClient(s)),
keysCommand("Solana", NewSolanaKeysClient(s)),
keysCommand("StarkNet", NewStarkNetKeysClient(s)),
keysCommand("Aptos", NewAptosKeysClient(s)),
Expand Down Expand Up @@ -306,7 +305,6 @@ func NewApp(s *Shell) *cli.App {
Usage: "Commands for handling transactions",
Subcommands: []cli.Command{
initEVMTxSubCmd(s),
initCosmosTxSubCmd(s),
initSolanaTxSubCmd(s),
},
},
Expand Down
23 changes: 0 additions & 23 deletions core/cmd/chains_commands_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,10 @@ import (

"github.com/smartcontractkit/chainlink/v2/core/cmd"
"github.com/smartcontractkit/chainlink/v2/core/internal/cltest"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils/cosmostest"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils/solanatest"
"github.com/smartcontractkit/chainlink/v2/core/services/chainlink"
)

func TestShell_IndexCosmosChains(t *testing.T) {
t.Parallel()

chainID := cosmostest.RandomChainID()
chain := chainlink.RawConfig{
"ChainID": chainID,
"Nodes": []map[string]any{{
"Name": "primary",
"TendermintURL": "http://tender.mint",
}},
}
app := cosmosStartNewApplication(t, chain)
client, r := app.NewShellAndRenderer()

require.NoError(t, cmd.NewChainClient(client, "cosmos").IndexChains(cltest.EmptyCLIContext()))
chains := *r.Renders[0].(*cmd.ChainPresenters)
require.Len(t, chains, 1)
c := chains[0]
assert.Equal(t, chainID, c.ID)
assertTableRenders(t, r)
}

func TestShell_IndexSolanaChains(t *testing.T) {
t.Parallel()

Expand Down
57 changes: 0 additions & 57 deletions core/cmd/cosmos_keys_commands.go

This file was deleted.

173 changes: 0 additions & 173 deletions core/cmd/cosmos_keys_commands_test.go

This file was deleted.

Loading
Loading