Skip to content

Commit e03e43a

Browse files
authored
Merge pull request #709 from ava-labs/[email protected]
Update to [email protected]
2 parents 6ca447d + 755a42a commit e03e43a

File tree

12 files changed

+251
-197
lines changed

12 files changed

+251
-197
lines changed

api/api_client.go

-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"github.com/ava-labs/avalanchego/api/admin"
77
"github.com/ava-labs/avalanchego/api/health"
88
"github.com/ava-labs/avalanchego/api/info"
9-
"github.com/ava-labs/avalanchego/api/ipcs"
109
"github.com/ava-labs/avalanchego/api/keystore"
1110
"github.com/ava-labs/avalanchego/indexer"
1211
"github.com/ava-labs/avalanchego/vms/avm"
@@ -29,7 +28,6 @@ type APIClient struct {
2928
cChainEth EthClient
3029
info info.Client
3130
health health.Client
32-
ipcs ipcs.Client
3331
keystore keystore.Client
3432
admin admin.Client
3533
pindex indexer.Client
@@ -50,7 +48,6 @@ func NewAPIClient(ipAddr string, port uint16) Client {
5048
cChainEth: NewEthClient(ipAddr, uint(port)), // wrapper over ethclient.Client
5149
info: info.NewClient(uri),
5250
health: health.NewClient(uri),
53-
ipcs: ipcs.NewClient(uri),
5451
keystore: keystore.NewClient(uri),
5552
admin: admin.NewClient(uri),
5653
pindex: indexer.NewClient(uri + "/ext/index/P/block"),
@@ -86,10 +83,6 @@ func (c APIClient) HealthAPI() health.Client {
8683
return c.health
8784
}
8885

89-
func (c APIClient) IpcsAPI() ipcs.Client {
90-
return c.ipcs
91-
}
92-
9386
func (c APIClient) KeystoreAPI() keystore.Client {
9487
return c.keystore
9588
}

api/client.go

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"github.com/ava-labs/avalanchego/api/admin"
55
"github.com/ava-labs/avalanchego/api/health"
66
"github.com/ava-labs/avalanchego/api/info"
7-
"github.com/ava-labs/avalanchego/api/ipcs"
87
"github.com/ava-labs/avalanchego/api/keystore"
98
"github.com/ava-labs/avalanchego/indexer"
109
"github.com/ava-labs/avalanchego/vms/avm"
@@ -22,7 +21,6 @@ type Client interface {
2221
CChainEthAPI() EthClient // ethclient websocket wrapper that adds mutexed calls, and lazy conn init (on first call)
2322
InfoAPI() info.Client
2423
HealthAPI() health.Client
25-
IpcsAPI() ipcs.Client
2624
KeystoreAPI() keystore.Client
2725
AdminAPI() admin.Client
2826
PChainIndexAPI() indexer.Client

0 commit comments

Comments
 (0)