Skip to content

Commit

Permalink
remove ed25519
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Aug 27, 2020
1 parent fd2ebe2 commit 66d2e1d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 228 deletions.
7 changes: 1 addition & 6 deletions crypto/codec/amino.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ package codec

import (
"github.com/tendermint/tendermint/crypto"
tmed "github.com/tendermint/tendermint/crypto/ed25519"
"github.com/tendermint/tendermint/crypto/ed25519"

"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
"github.com/cosmos/cosmos-sdk/crypto/keys/sr25519"
"github.com/cosmos/cosmos-sdk/crypto/types/multisig"
Expand All @@ -22,8 +21,6 @@ func init() {
// codec.
func RegisterCrypto(cdc *codec.LegacyAmino) {
cdc.RegisterInterface((*crypto.PubKey)(nil), nil)
cdc.RegisterConcrete(tmed.PubKey{},
tmed.PubKeyName, nil)
cdc.RegisterConcrete(ed25519.PubKey{},
ed25519.PubKeyName, nil)
cdc.RegisterConcrete(sr25519.PubKey{},
Expand All @@ -36,8 +33,6 @@ func RegisterCrypto(cdc *codec.LegacyAmino) {
cdc.RegisterInterface((*crypto.PrivKey)(nil), nil)
cdc.RegisterConcrete(ed25519.PrivKey{},
ed25519.PrivKeyName, nil)
cdc.RegisterConcrete(tmed.PrivKey{},
tmed.PrivKeyName, nil)
cdc.RegisterConcrete(sr25519.PrivKey{},
sr25519.PrivKeyName, nil)
cdc.RegisterConcrete(secp256k1.PrivKey{},
Expand Down
27 changes: 0 additions & 27 deletions crypto/keys/ed25519/bench_test.go

This file was deleted.

165 changes: 0 additions & 165 deletions crypto/keys/ed25519/ed25519.go

This file was deleted.

30 changes: 0 additions & 30 deletions crypto/keys/ed25519/ed25519_test.go

This file was deleted.

0 comments on commit 66d2e1d

Please sign in to comment.