refactor(mint): new go module (#18283)

This commit is contained in:
Marko
2023-10-28 07:09:48 +00:00
committed by GitHub
parent 21e69bad04
commit 7bef0227f9
84 changed files with 1652 additions and 82 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ func MintModule() ModuleOption {
Config: appconfig.WrapAny(&mintmodulev1.Module{}),
GolangBindings: []*appv1alpha1.GolangBinding{
{
InterfaceType: "github.com/cosmos/cosmos-sdk/x/mint/types/types.StakingKeeper",
InterfaceType: "cosmossdk.io/x/mint/types/types.StakingKeeper",
Implementation: "cosmossdk.io/x/staking/keeper/*keeper.Keeper",
},
},
+3 -3
View File
@@ -9,6 +9,9 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/log"
storetypes "cosmossdk.io/store/types"
"cosmossdk.io/x/mint"
mintkeeper "cosmossdk.io/x/mint/keeper"
minttypes "cosmossdk.io/x/mint/types"
addresscodec "github.com/cosmos/cosmos-sdk/codec/address"
"github.com/cosmos/cosmos-sdk/runtime"
@@ -19,9 +22,6 @@ import (
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/mint"
mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
)
// Example shows how to use the integration test framework to test the integration of SDK modules.
+1 -1
View File
@@ -10,12 +10,12 @@ import (
errorsmod "cosmossdk.io/errors"
"cosmossdk.io/math"
bankkeeper "cosmossdk.io/x/bank/keeper"
minttypes "cosmossdk.io/x/mint/types"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
)
type GenerateAccountStrategy func(int) []sdk.AccAddress