Skip to content

Commit

Permalink
chore: Add unjail-finality-provider cmd (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitferry authored Sep 20, 2024
1 parent 8c63dae commit 7a0311b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 5 additions & 5 deletions finality-provider/cmd/fpd/daemon/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ import (
"fmt"

"cosmossdk.io/math"
fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd"
fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config"
dc "github.com/babylonlabs-io/finality-provider/finality-provider/service/client"
bbn "github.com/babylonlabs-io/babylon/types"
btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types"
"github.com/cosmos/cosmos-sdk/client"
sdkflags "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/spf13/cobra"

bbn "github.com/babylonlabs-io/babylon/types"
btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types"
fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd"
fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config"
dc "github.com/babylonlabs-io/finality-provider/finality-provider/service/client"
)

// FinalityProviderSigned wraps the finality provider by adding the
Expand Down
5 changes: 3 additions & 2 deletions finality-provider/cmd/fpd/daemon/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package daemon
import (
"strings"

helper "github.com/babylonlabs-io/finality-provider/finality-provider/cmd"
fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config"
"github.com/cosmos/cosmos-sdk/client"
sdkflags "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
goflags "github.com/jessevdk/go-flags"
"github.com/spf13/cobra"

helper "github.com/babylonlabs-io/finality-provider/finality-provider/cmd"
fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config"
)

// CommandKeys returns the keys group command and updates the add command to do a
Expand Down
2 changes: 2 additions & 0 deletions finality-provider/cmd/fpd/daemon/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

btcstakingcli "github.com/babylonlabs-io/babylon/x/btcstaking/client/cli"
btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types"
finalitycli "github.com/babylonlabs-io/babylon/x/finality/client/cli"
sdk "github.com/cosmos/cosmos-sdk/types"
authclient "github.com/cosmos/cosmos-sdk/x/auth/client"
authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
Expand All @@ -27,6 +28,7 @@ func CommandTxs() *cobra.Command {
cmd.AddCommand(
authcli.GetSignCommand(),
btcstakingcli.NewCreateFinalityProviderCmd(),
finalitycli.NewUnjailFinalityProviderCmd(),
NewValidateSignedFinalityProviderCmd(),
)

Expand Down

0 comments on commit 7a0311b

Please sign in to comment.