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

Dwedul/no params key #2188

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
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
8 changes: 3 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ var (
// the params module can be deleted. But I don't want the imports, so they're copied here.
// TODO[viridian]: Delete these params constants after the upgrade.
const (
paramsName = "params" // = paramstypes.ModuleName
paramsKey = paramsName // = paramstypes.StoreKey
paramsTKey = "transient_params" // paramstypes.TStoreKey
paramsName = "params" // = paramstypes.ModuleName
)

// WasmWrapper allows us to use namespacing in the config file
Expand Down Expand Up @@ -362,7 +360,7 @@ func New(
keys := storetypes.NewKVStoreKeys(
authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey,
minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey,
govtypes.StoreKey, consensusparamtypes.StoreKey, paramsKey, upgradetypes.StoreKey, feegrant.StoreKey,
govtypes.StoreKey, consensusparamtypes.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey,
evidencetypes.StoreKey, capabilitytypes.StoreKey, circuittypes.StoreKey,
authzkeeper.StoreKey, group.StoreKey, crisistypes.StoreKey,

Expand All @@ -386,7 +384,7 @@ func New(
hold.StoreKey,
exchange.StoreKey,
)
tkeys := storetypes.NewTransientStoreKeys(paramsTKey)
tkeys := storetypes.NewTransientStoreKeys()
memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)

govAuthority := authtypes.NewModuleAddress(govtypes.ModuleName).String()
Expand Down
Loading