Skip to content

Commit dfa13b3

Browse files
committed
ed25519 is allowed after cosmos/cosmos-sdk#24030
1 parent 26f24eb commit dfa13b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/ante/ante_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010

1111
sdkmath "cosmossdk.io/math"
1212
storetypes "cosmossdk.io/store/types"
13+
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
1314
kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"
1415
"github.com/stretchr/testify/suite"
1516

16-
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
1717
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"
1818
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
1919
"github.com/cosmos/cosmos-sdk/crypto/types/multisig"
@@ -1385,7 +1385,7 @@ func (suite *AnteTestSuite) TestConsumeSignatureVerificationGas() {
13851385
gasConsumed uint64
13861386
shouldErr bool
13871387
}{
1388-
{"PubKeyEd25519", args{storetypes.NewInfiniteGasMeter(), nil, ed25519.GenPrivKey().PubKey(), params}, p.SigVerifyCostED25519, true},
1388+
{"PubKeyEd25519", args{storetypes.NewInfiniteGasMeter(), nil, ed25519.GenPrivKey().PubKey(), params}, p.SigVerifyCostED25519, false},
13891389
{"PubKeyEthSecp256k1", args{storetypes.NewInfiniteGasMeter(), nil, pkSet1[0], params}, 21_000, false},
13901390
{"PubKeySecp256r1", args{storetypes.NewInfiniteGasMeter(), nil, skR1.PubKey(), params}, p.SigVerifyCostSecp256r1(), false},
13911391
{"Multisig", args{storetypes.NewInfiniteGasMeter(), multisignature1, multisigKey1, params}, expectedCost1, false},

0 commit comments

Comments
 (0)