From f22c0a36e3ff16cda127a8f6af56d4221c0d77d1 Mon Sep 17 00:00:00 2001 From: Sam Ricotta Date: Tue, 17 Dec 2024 18:48:48 +1100 Subject: [PATCH 1/3] Update cmd.go --- finality-provider/cmd/cmd.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/finality-provider/cmd/cmd.go b/finality-provider/cmd/cmd.go index 4725960c..e9f69ffd 100644 --- a/finality-provider/cmd/cmd.go +++ b/finality-provider/cmd/cmd.go @@ -8,6 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/std" + "github.com/cosmos/cosmos-sdk/x/auth/types" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/spf13/cobra" "github.com/spf13/pflag" @@ -22,13 +24,16 @@ func PersistClientCtx(ctx client.Context) func(cmd *cobra.Command, _ []string) e encCfg := params.DefaultEncodingConfig() std.RegisterInterfaces(encCfg.InterfaceRegistry) bstypes.RegisterInterfaces(encCfg.InterfaceRegistry) + incentivetypes.RegisterInterfaces(encCfg.InterfaceRegistry) + types.RegisterInterfaces(encCfg.InterfaceRegistry) ctx = ctx. WithCodec(encCfg.Codec). WithInterfaceRegistry(encCfg.InterfaceRegistry). WithTxConfig(encCfg.TxConfig). WithLegacyAmino(encCfg.Amino). - WithInput(os.Stdin) + WithInput(os.Stdin). + WithAccountRetriever(types.AccountRetriever{}) // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) From f3225cb951fec9e8ede21d5ffa9b9a75a618d64f Mon Sep 17 00:00:00 2001 From: Sam Ricotta Date: Tue, 17 Dec 2024 22:26:19 +1100 Subject: [PATCH 2/3] update formatting --- finality-provider/config/babylon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finality-provider/config/babylon.go b/finality-provider/config/babylon.go index 18b601a5..09a7bc67 100644 --- a/finality-provider/config/babylon.go +++ b/finality-provider/config/babylon.go @@ -40,7 +40,7 @@ func DefaultBBNConfig() BBNConfig { // Setting this to relatively low value, out current babylon client (lens) will // block for this amout of time to wait for transaction inclusion in block BlockTimeout: 1 * time.Minute, - OutputFormat: dc.OutputFormat, + OutputFormat: "text", SignModeStr: dc.SignModeStr, } } From 3eaae7d034c0de081c81774411aae71d56e2a009 Mon Sep 17 00:00:00 2001 From: Sam Ricotta Date: Tue, 17 Dec 2024 22:54:32 +1100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 496dabbc..d189d885 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * [#199](https://github.com/babylonlabs-io/finality-provider/pull/199) EOTS signing for multiple finality providers * [#203](https://github.com/babylonlabs-io/finality-provider/pull/203) fpd cli: Withdraw rewards and set withdraw addr +* [#231](https://github.com/babylonlabs-io/finality-provider/pull/231) fix: withdrawal cli for rewards fp ## v0.13.0