Skip to content

Commit

Permalink
Merge pull request cosmos#760 from CosmWasm/749-client-encoding
Browse files Browse the repository at this point in the history
Replace custom codec with sdk codec
  • Loading branch information
alpe authored Feb 21, 2022
2 parents e0e6cc4 + 0fc0ac5 commit 95d58b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 81 deletions.
3 changes: 1 addition & 2 deletions cmd/wasmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/CosmWasm/wasmd/app"
"github.com/CosmWasm/wasmd/app/params"
"github.com/CosmWasm/wasmd/x/wasm"
clientcodec "github.com/CosmWasm/wasmd/x/wasm/client/codec"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
)
Expand All @@ -52,7 +51,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
cfg.Seal()

initClientCtx := client.Context{}.
WithCodec(clientcodec.NewProtoCodec(encodingConfig.Marshaler, encodingConfig.InterfaceRegistry)).
WithCodec(encodingConfig.Marshaler).
WithInterfaceRegistry(encodingConfig.InterfaceRegistry).
WithTxConfig(encodingConfig.TxConfig).
WithLegacyAmino(encodingConfig.Amino).
Expand Down
79 changes: 0 additions & 79 deletions x/wasm/client/codec/marshaller.go

This file was deleted.

0 comments on commit 95d58b8

Please sign in to comment.