Handle gov module custom config
All checks were successful
Build / build (pull_request) Successful in 3m49s
Integration Tests / test-integration (pull_request) Successful in 3m31s
E2E Tests / test-e2e (pull_request) Successful in 4m59s
Unit Tests / test-unit (pull_request) Successful in 2m8s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m32s
SDK Tests / sdk_tests (pull_request) Successful in 10m29s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m38s
All checks were successful
Build / build (pull_request) Successful in 3m49s
Integration Tests / test-integration (pull_request) Successful in 3m31s
E2E Tests / test-e2e (pull_request) Successful in 4m59s
Unit Tests / test-unit (pull_request) Successful in 2m8s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m32s
SDK Tests / sdk_tests (pull_request) Successful in 10m29s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m38s
This commit is contained in:
parent
28969fec1d
commit
946cb9d4f5
10
app/app.go
10
app/app.go
@ -34,7 +34,11 @@ import (
|
|||||||
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
|
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
|
||||||
"github.com/cosmos/cosmos-sdk/x/genutil"
|
"github.com/cosmos/cosmos-sdk/x/genutil"
|
||||||
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
||||||
|
"github.com/cosmos/cosmos-sdk/x/gov"
|
||||||
|
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
|
||||||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
||||||
|
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||||
|
paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"
|
||||||
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
|
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
|
||||||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
||||||
|
|
||||||
@ -49,7 +53,6 @@ import (
|
|||||||
_ "github.com/cosmos/cosmos-sdk/x/consensus" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/consensus" // import for side-effects
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/crisis" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/crisis" // import for side-effects
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/distribution" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/distribution" // import for side-effects
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/gov" // import for side-effects
|
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/mint" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/mint" // import for side-effects
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/slashing" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/slashing" // import for side-effects
|
||||||
_ "github.com/cosmos/cosmos-sdk/x/staking" // import for side-effects
|
_ "github.com/cosmos/cosmos-sdk/x/staking" // import for side-effects
|
||||||
@ -113,6 +116,11 @@ func AppConfig() depinject.Config {
|
|||||||
// supply custom module basics
|
// supply custom module basics
|
||||||
map[string]module.AppModuleBasic{
|
map[string]module.AppModuleBasic{
|
||||||
genutiltypes.ModuleName: genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
|
genutiltypes.ModuleName: genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
|
||||||
|
govtypes.ModuleName: gov.NewAppModuleBasic(
|
||||||
|
[]govclient.ProposalHandler{
|
||||||
|
paramsclient.ProposalHandler,
|
||||||
|
},
|
||||||
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -26,7 +26,7 @@ modules:
|
|||||||
- account: not_bonded_tokens_pool
|
- account: not_bonded_tokens_pool
|
||||||
permissions: [burner, staking]
|
permissions: [burner, staking]
|
||||||
- account: gov
|
- account: gov
|
||||||
permissions: [burner, staking]
|
permissions: [burner]
|
||||||
- account: auction
|
- account: auction
|
||||||
- account: auction_burn
|
- account: auction_burn
|
||||||
- account: bond
|
- account: bond
|
||||||
|
Loading…
Reference in New Issue
Block a user