Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover private validator key #8099

Merged
merged 15 commits into from
Dec 8, 2020
Prev Previous commit
Next Next commit
fix imports
  • Loading branch information
Alessio Treglia committed Dec 8, 2020
commit 372815b39b2ad8072c397a8197c016a8a9ec44d9
4 changes: 1 addition & 3 deletions x/genutil/client/cli/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import (
"path/filepath"

"github.com/cosmos/go-bip39"

"github.com/cosmos/cosmos-sdk/client/input"

"github.com/pkg/errors"
"github.com/spf13/cobra"
cfg "github.com/tendermint/tendermint/config"
Expand All @@ -21,6 +18,7 @@ import (

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/input"
"github.com/cosmos/cosmos-sdk/server"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
Expand Down
3 changes: 1 addition & 2 deletions x/genutil/client/cli/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import (
"testing"
"time"

"github.com/cosmos/cosmos-sdk/testutil"

"github.com/spf13/viper"
"github.com/stretchr/testify/require"
abci_server "github.com/tendermint/tendermint/abci/server"
Expand All @@ -23,6 +21,7 @@ import (
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/server/mock"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/genutil"
Expand Down
3 changes: 1 addition & 2 deletions x/genutil/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import (
"time"

"github.com/cosmos/go-bip39"
tmed25519 "github.com/tendermint/tendermint/crypto/ed25519"

cfg "github.com/tendermint/tendermint/config"
tmed25519 "github.com/tendermint/tendermint/crypto/ed25519"
tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/privval"
Expand Down
3 changes: 1 addition & 2 deletions x/genutil/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (
"testing"
"time"

"github.com/tendermint/tendermint/config"

"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/config"
)

func TestExportGenesisFileWithTime(t *testing.T) {
Expand Down