8
8
"sync"
9
9
"time"
10
10
11
- "cosmossdk.io/simapp/params"
12
11
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
13
12
cosmosclient "github.com/cosmos/cosmos-sdk/client"
14
13
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
@@ -17,10 +16,8 @@ import (
17
16
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
18
17
"github.com/pkg/errors"
19
18
"github.com/rs/zerolog"
19
+ etherminttypes "github.com/zeta-chain/ethermint/types"
20
20
feemarkettypes "github.com/zeta-chain/ethermint/x/feemarket/types"
21
- "google.golang.org/grpc"
22
- "google.golang.org/grpc/credentials/insecure"
23
-
24
21
"github.com/zeta-chain/zetacore/app"
25
22
"github.com/zeta-chain/zetacore/pkg/authz"
26
23
"github.com/zeta-chain/zetacore/pkg/chains"
@@ -32,6 +29,8 @@ import (
32
29
"github.com/zeta-chain/zetacore/zetaclient/config"
33
30
zctx "github.com/zeta-chain/zetacore/zetaclient/context"
34
31
keyinterfaces "github.com/zeta-chain/zetacore/zetaclient/keys/interfaces"
32
+ "google.golang.org/grpc"
33
+ "google.golang.org/grpc/credentials/insecure"
35
34
)
36
35
37
36
var _ interfaces.ZetacoreClient = & Client {}
@@ -48,7 +47,7 @@ type Client struct {
48
47
accountNumber map [authz.KeyType ]uint64
49
48
seqNumber map [authz.KeyType ]uint64
50
49
51
- encodingCfg params .EncodingConfig
50
+ encodingCfg etherminttypes .EncodingConfig
52
51
keys keyinterfaces.ObserverKeys
53
52
chainID string
54
53
chain chains.Chain
@@ -178,7 +177,7 @@ func buildCosmosClientContext(
178
177
chainID string ,
179
178
keys keyinterfaces.ObserverKeys ,
180
179
config config.ClientConfiguration ,
181
- encodingConfig params .EncodingConfig ,
180
+ encodingConfig etherminttypes .EncodingConfig ,
182
181
opts constructOpts ,
183
182
) (cosmosclient.Context , error ) {
184
183
if keys == nil {
0 commit comments