Skip to content

Commit

Permalink
deprecate keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Jan 20, 2025
1 parent 59f9e2d commit c564e6c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 34 deletions.
7 changes: 0 additions & 7 deletions api/api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/ava-labs/avalanchego/api/admin"
"github.com/ava-labs/avalanchego/api/health"
"github.com/ava-labs/avalanchego/api/info"
"github.com/ava-labs/avalanchego/api/keystore"
"github.com/ava-labs/avalanchego/indexer"
"github.com/ava-labs/avalanchego/vms/avm"
"github.com/ava-labs/avalanchego/vms/platformvm"
Expand All @@ -28,7 +27,6 @@ type APIClient struct {
cChainEth EthClient
info info.Client
health health.Client
keystore keystore.Client
admin admin.Client
pindex indexer.Client
cindex indexer.Client
Expand All @@ -48,7 +46,6 @@ func NewAPIClient(ipAddr string, port uint16) Client {
cChainEth: NewEthClient(ipAddr, uint(port)), // wrapper over ethclient.Client
info: info.NewClient(uri),
health: health.NewClient(uri),
keystore: keystore.NewClient(uri),
admin: admin.NewClient(uri),
pindex: indexer.NewClient(uri + "/ext/index/P/block"),
cindex: indexer.NewClient(uri + "/ext/index/C/block"),
Expand Down Expand Up @@ -83,10 +80,6 @@ func (c APIClient) HealthAPI() health.Client {
return c.health
}

func (c APIClient) KeystoreAPI() keystore.Client {
return c.keystore
}

func (c APIClient) AdminAPI() admin.Client {
return c.admin
}
Expand Down
2 changes: 0 additions & 2 deletions api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"github.com/ava-labs/avalanchego/api/admin"
"github.com/ava-labs/avalanchego/api/health"
"github.com/ava-labs/avalanchego/api/info"
"github.com/ava-labs/avalanchego/api/keystore"
"github.com/ava-labs/avalanchego/indexer"
"github.com/ava-labs/avalanchego/vms/avm"
"github.com/ava-labs/avalanchego/vms/platformvm"
Expand All @@ -21,7 +20,6 @@ type Client interface {
CChainEthAPI() EthClient // ethclient websocket wrapper that adds mutexed calls, and lazy conn init (on first call)
InfoAPI() info.Client
HealthAPI() health.Client
KeystoreAPI() keystore.Client
AdminAPI() admin.Client
PChainIndexAPI() indexer.Client
CChainIndexAPI() indexer.Client
Expand Down
18 changes: 0 additions & 18 deletions api/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect
github.com/otiai10/mint v1.6.3 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
Expand Down
6 changes: 0 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,8 @@ github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8=
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/ava-labs/avalanchego v1.12.2-0.20250116172728-54d8b06b8625 h1:sbmfwhpetCKI7Unzw9jJ+2HWLRFM7vq7th0pH2LclCQ=
github.com/ava-labs/avalanchego v1.12.2-0.20250116172728-54d8b06b8625/go.mod h1:oK/C7ZGo5cAEayBKBoawh2EpOo3E9gD1rpd9NAM0RkQ=
github.com/ava-labs/avalanchego v1.12.2-0.20250118011055-0e994f68ab7e h1:wjBH/axFL1OUtRN6wCeqrLDGUwljdPM3KBHX8GvqoUQ=
github.com/ava-labs/avalanchego v1.12.2-0.20250118011055-0e994f68ab7e/go.mod h1:qYmed64WiJdfcWqFacJWOVia/C2gSpa2osP8qnpGp7I=
github.com/ava-labs/coreth v0.14.1-0.20241230191223-351149733d35 h1:qBNnMleaJ7yWjNiDdV7wIf/e/PxubB+Ww7Mfx4QN4p8=
github.com/ava-labs/coreth v0.14.1-0.20241230191223-351149733d35/go.mod h1:nvQqJem4MuE0pU93aqBPsaEZx9NnXT0lI8d6rrQS5uY=
github.com/ava-labs/coreth v0.14.1-rc.0 h1:0SXifWbwzfkzPUioFt2nMNKwjbRiiH55dUkgK38O6NE=
github.com/ava-labs/coreth v0.14.1-rc.0/go.mod h1:lxDSXLcrszMo0N/PVJzfZ//H+bRwXF/KQWtpEYgXZqM=
github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g=
Expand Down Expand Up @@ -411,8 +407,6 @@ github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5Vgl
github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w=
github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w=
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d h1:AREM5mwr4u1ORQBMvzfzBgpsctsbQikCVpvC+tX285E=
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
Expand Down

0 comments on commit c564e6c

Please sign in to comment.