From 0b8e174331cc71014acf7edc58db699f9ecdd450 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 3 Dec 2024 10:49:19 +0800 Subject: [PATCH] fix(#9): support EthSecp256k1 --- cmd/artrolld/cmd/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/artrolld/cmd/root.go b/cmd/artrolld/cmd/root.go index eb4fb74..6696b7d 100644 --- a/cmd/artrolld/cmd/root.go +++ b/cmd/artrolld/cmd/root.go @@ -25,6 +25,7 @@ import ( "github.com/spf13/pflag" "github.com/artela-network/artela-rollkit/app" + artelakeyring "github.com/artela-network/artela-rollkit/ethereum/crypto/keyring" evmmoduletypes "github.com/artela-network/artela-rollkit/x/evm/types" ) @@ -161,6 +162,7 @@ func ProvideClientContext( WithInput(os.Stdin). WithAccountRetriever(types.AccountRetriever{}). WithHomeDir(app.DefaultNodeHome). + WithKeyringOptions(artelakeyring.Option()). WithViper(app.Name) // env variable prefix // Read the config again to overwrite the default values with the values from the config file