diff --git a/cmd/archwayd/root.go b/cmd/archwayd/root.go index 1b346ded..c7651c6e 100644 --- a/cmd/archwayd/root.go +++ b/cmd/archwayd/root.go @@ -33,6 +33,8 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" + rosettaCmd "cosmossdk.io/tools/rosetta/cmd" + "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" @@ -111,6 +113,10 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { initRootCmd(rootCmd, encodingConfig) + rootCmd.AddCommand( + rosettaCmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Marshaler), + ) + return rootCmd, encodingConfig } diff --git a/go.mod b/go.mod index d9ce94c6..0106733d 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( cosmossdk.io/api v0.3.1 cosmossdk.io/errors v1.0.0 cosmossdk.io/math v1.1.2 + cosmossdk.io/tools/rosetta v0.2.1 github.com/CosmWasm/cosmwasm-go v0.5.1-0.20220822092235-974247a04ac7 github.com/CosmWasm/wasmd v0.42.0 github.com/CosmWasm/wasmvm v1.4.0 @@ -42,7 +43,6 @@ require ( cosmossdk.io/core v0.5.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/log v1.2.1 // indirect - cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect