refactor: revert auth extraction (backport #21507) (#21529)

Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2024-09-03 22:21:22 +00:00
committed by GitHub
co-authored by Marko Julien Robert
parent f1135816b6
commit 7d5ab19311
326 changed files with 837 additions and 1852 deletions
+1 -1
View File
@@ -13,7 +13,6 @@ import (
_ "cosmossdk.io/api/cosmos/crypto/secp256k1"
"cosmossdk.io/core/transaction"
"cosmossdk.io/log"
"cosmossdk.io/x/auth/signing"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
@@ -23,6 +22,7 @@ import (
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
txsigning "github.com/cosmos/cosmos-sdk/types/tx/signing"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
)
// testPubKey is a dummy implementation of PubKey used for testing.
+1 -1
View File
@@ -10,11 +10,11 @@ import (
"github.com/stretchr/testify/require"
"cosmossdk.io/log"
"cosmossdk.io/x/auth/signing"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/mempool"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
)
func TestOutOfOrder(t *testing.T) {
+1 -2
View File
@@ -10,9 +10,8 @@ import (
"github.com/huandu/skiplist"
"cosmossdk.io/x/auth/signing"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
)
var (
+1 -1
View File
@@ -7,11 +7,11 @@ import (
"pgregory.net/rapid"
"cosmossdk.io/log"
"cosmossdk.io/x/auth/signing"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/mempool"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
)
var (
+1 -2
View File
@@ -3,9 +3,8 @@ package mempool
import (
"fmt"
"cosmossdk.io/x/auth/signing"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
)
// SignerData contains canonical useful information about the signer of a transaction