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

chore: remove params module entirely #17838

Merged
merged 12 commits into from
Sep 22, 2023
11 changes: 10 additions & 1 deletion testutil/configurator/configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
groupmodulev1 "cosmossdk.io/api/cosmos/group/module/v1"
mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1"
nftmodulev1 "cosmossdk.io/api/cosmos/nft/module/v1"
paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1"
slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1"
stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1"
txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1"
Expand Down Expand Up @@ -56,6 +57,7 @@ func defaultConfig() *Config {
"nft",
"group",
"consensus",
"params",
tac0turtle marked this conversation as resolved.
Show resolved Hide resolved
"vesting",
"circuit",
},
Expand Down Expand Up @@ -159,7 +161,14 @@ func AuthModule() ModuleOption {
}
}
}

func ParamsModule() ModuleOption {
return func(config *Config) {
config.ModuleConfigs["params"] = &appv1alpha1.ModuleConfig{
Name: "params",
Config: appconfig.WrapAny(&paramsmodulev1.Module{}),
}
}
}
func TxModule() ModuleOption {
return func(config *Config) {
config.ModuleConfigs["tx"] = &appv1alpha1.ModuleConfig{
Expand Down
Loading