feat(epochs): add wrapper of epoch getter (backport #22068) (#22124)

Co-authored-by: Narangde <hansol.lee@storyprotocol.xyz>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2024-10-04 10:44:13 +02:00
committed by GitHub
co-authored by Narangde Julien Robert
parent bbdee5cfdf
commit e3104faaec
4 changed files with 9 additions and 18 deletions
+3 -1
View File
@@ -3,16 +3,18 @@ package tx
import (
"testing"
"github.com/stretchr/testify/require"
"cosmossdk.io/depinject"
"cosmossdk.io/log"
_ "cosmossdk.io/x/accounts"
"cosmossdk.io/x/tx/signing"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/tests/integration/tx/internal"
"github.com/cosmos/cosmos-sdk/tests/integration/tx/internal/pulsar/testpb"
"github.com/cosmos/cosmos-sdk/testutil/configurator"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
"github.com/stretchr/testify/require"
)
func ProvideCustomGetSigner() signing.CustomGetSigner {
+1 -1
View File
@@ -6,6 +6,7 @@ import (
"encoding/json"
"testing"
gogoproto "github.com/cosmos/gogoproto/proto"
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
@@ -26,7 +27,6 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
"github.com/cosmos/cosmos-sdk/x/auth/tx"
gogoproto "github.com/cosmos/gogoproto/proto"
)
var TestRepeatedFieldsSigner = signing.CustomGetSigner{