Skip to content

Commit aa3a342

Browse files
author
Maxim
committed
Fix: use local wasm module types instead of including wasmvm repo as a dependency.
1 parent b006963 commit aa3a342

File tree

4 files changed

+10
-157
lines changed

4 files changed

+10
-157
lines changed

chain/client/context.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
oracle "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
2222
peggy "github.com/InjectiveLabs/sdk-go/chain/peggy/types"
2323
chaintypes "github.com/InjectiveLabs/sdk-go/chain/types"
24+
wasmtypes "github.com/InjectiveLabs/sdk-go/wasm/types"
2425

25-
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
2626
cosmostypes "github.com/cosmos/cosmos-sdk/types"
2727
signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing"
2828
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -115,7 +115,6 @@ func NewClientContext(
115115
upgradetypes.RegisterInterfaces(interfaceRegistry)
116116
wasmtypes.RegisterInterfaces(interfaceRegistry)
117117

118-
119118
marshaler := codec.NewProtoCodec(interfaceRegistry)
120119
encodingConfig := EncodingConfig{
121120
InterfaceRegistry: interfaceRegistry,
@@ -166,7 +165,7 @@ func newContext(
166165
encodingConfig EncodingConfig,
167166
kb keyring.Keyring,
168167
keyInfo keyring.Info,
169-
168+
170169
) client.Context {
171170
clientCtx := client.Context{
172171
ChainID: chainId,

chain/exchange/types/expected_keepers.go

Lines changed: 0 additions & 75 deletions
This file was deleted.

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module github.com/InjectiveLabs/sdk-go
33
go 1.16
44

55
require (
6-
github.com/CosmWasm/wasmd v0.0.0-00010101000000-000000000000
76
github.com/allegro/bigcache v1.2.1 // indirect
87
github.com/aristanetworks/goarista v0.0.0-20201012165903-2cb20defcd66 // indirect
98
github.com/bandprotocol/bandchain-packet v0.0.2
@@ -47,5 +46,3 @@ replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alp
4746
replace google.golang.org/grpc => google.golang.org/grpc v1.33.2
4847

4948
replace github.com/btcsuite/btcutil => github.com/btcsuite/btcutil v1.0.2
50-
51-
replace github.com/CosmWasm/wasmd => github.com/cosmoscontracts/wasmd v1.0.0-juno6

0 commit comments

Comments
 (0)