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

Update ante handlers to use SignatureV2 #6428

Merged
merged 31 commits into from
Jun 29, 2020
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7bbad19
Update ante handlers to use SignatureV2
aaronc Jun 12, 2020
e48e900
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc Jun 15, 2020
9c67acc
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc Jun 15, 2020
d754371
WIP on test fixes
aaronc Jun 15, 2020
30b23cc
WIP on test fixes
aaronc Jun 15, 2020
08e4eec
Debugging CLI Tests
aaronc Jun 15, 2020
5ea5719
CHANGELOG.md
aaronc Jun 15, 2020
82f0262
CHANGELOG
aaronc Jun 15, 2020
ca7464f
Add missing tests for ante
sahith-narahari Jun 16, 2020
3113860
Add tests for verify signatures
sahith-narahari Jun 17, 2020
0756f34
Update verify tests
sahith-narahari Jun 18, 2020
4556e62
Fix register codec issue
anilcse Jun 20, 2020
deffd99
debug
anilcse Jun 20, 2020
25e28a6
Cleanup
anilcse Jun 20, 2020
e5e1446
Fix verify signature tests
anilcse Jun 22, 2020
488ad44
Remove viper
anilcse Jun 22, 2020
e5a79cf
remove keyring usage
anilcse Jun 22, 2020
b20c3f5
Fix review changes
anilcse Jun 23, 2020
5a93f28
Merge branch 'master' into aaronc/6213-ante-sig-verify
aaronc Jun 25, 2020
8500d1f
Fix simapp
sahith-narahari Jun 25, 2020
d36ce64
Fix ante tests
sahith-narahari Jun 25, 2020
836ab64
Add reference issue
sahith-narahari Jun 26, 2020
be4ba5f
Add test for multisignature
sahith-narahari Jun 26, 2020
1878fbc
Merge branch 'master' into aaronc/6213-ante-sig-verify
fedekunze Jun 26, 2020
36e5f29
Wrap sign error with sig
sahith-narahari Jun 26, 2020
4a8b09c
Merge branch 'aaronc/6213-ante-sig-verify' of github.com:cosmos/cosmo…
sahith-narahari Jun 26, 2020
cdde4c1
Fix verify sign test
sahith-narahari Jun 27, 2020
1f0aed6
Merge branch 'master' into aaronc/6213-ante-sig-verify
aaronc Jun 29, 2020
b63a0bb
Merge branch 'master' into aaronc/6213-ante-sig-verify
aaronc Jun 29, 2020
d030eb0
Merge branch 'master' into aaronc/6213-ante-sig-verify
alexanderbez Jun 29, 2020
8d653de
Fix CHANGELOG.md
aaronc Jun 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove viper
  • Loading branch information
anilcse committed Jun 22, 2020
commit 488ad4424fc8989007afd4422d5318c76f6b8acf
7 changes: 0 additions & 7 deletions x/auth/signing/verify_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package signing_test

import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/cosmos/cosmos-sdk/tests"
"github.com/spf13/viper"
"testing"

"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -35,18 +33,13 @@ func TestVerifySignature(t *testing.T) {
dir, clean := tests.NewTestCaseDir(t)
t.Cleanup(clean)

viper.Set(flags.FlagKeyringBackend, backend)
path := hd.CreateHDPath(118, 0, 0).String()
kr, err := keyring.New(sdk.KeyringServiceName(), backend, dir, nil)
require.NoError(t, err)

_, _, err = kr.NewMnemonic(from, keyring.English, path, hd.Secp256k1)
require.NoError(t, err)

viper.Set(flags.FlagFrom, from)
viper.Set(flags.FlagChainID, chainId)
viper.Set(flags.FlagHome, dir)

cdc := codec.New()
sdk.RegisterCodec(cdc)
types.RegisterCodec(cdc)
Expand Down