* Start chain upgrade tests * Fix stakeunstake test * Make test pass * Better stop chain * Test chain upgrade * Set upgrade handler order * Fix app for chain upgrade * Minor cleanup * Check contract state * Updates * Gov constitution migration will be handled by the sdk * Deactivate upgrade test * Helper * Better upgrade structure an minor updates (cherry picked from commit 32a01da4563b52df6167929f3535d111ad18a1b7) * Updates * Gci formatting * Updates * Testnet commit timeout * Update * Store artifacts on system test failure * Better circleci setup * Artifact path * x * Fix upgrade * Generic upgrade handler * Fix imports * Update tests/system/cli.go Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com> --------- Co-authored-by: Pino' Surace <pino.surace@live.it> Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>
37 lines
942 B
Go
37 lines
942 B
Go
//go:build !cgo
|
|
|
|
package keeper
|
|
|
|
import (
|
|
storetypes "cosmossdk.io/store/types"
|
|
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
|
|
"github.com/CosmWasm/wasmd/x/wasm/types"
|
|
)
|
|
|
|
// NewKeeper creates a new contract Keeper instance
|
|
// If customEncoders is non-nil, we can use this to override some of the message handler, especially custom
|
|
func NewKeeper(
|
|
cdc codec.Codec,
|
|
storeKey storetypes.StoreKey,
|
|
accountKeeper types.AccountKeeper,
|
|
bankKeeper types.BankKeeper,
|
|
stakingKeeper types.StakingKeeper,
|
|
distrKeeper types.DistributionKeeper,
|
|
ics4Wrapper types.ICS4Wrapper,
|
|
channelKeeper types.ChannelKeeper,
|
|
portKeeper types.PortKeeper,
|
|
capabilityKeeper types.CapabilityKeeper,
|
|
portSource types.ICS20TransferPortSource,
|
|
router MessageRouter,
|
|
_ GRPCQueryRouter,
|
|
homeDir string,
|
|
wasmConfig types.WasmConfig,
|
|
availableCapabilities string,
|
|
authority string,
|
|
opts ...Option,
|
|
) Keeper {
|
|
panic("not implemented, please build with cgo enabled")
|
|
}
|