refactor: replace app wiring yaml config by go (#12757)

* refactor: end-to-end tests should use simapp

* updates

* updates

* remove unecessary AppWiring
This commit is contained in:
Julien Robert
2022-07-29 16:39:44 -03:00
committed by GitHub
parent 2bec9d2021
commit dc95e33efe
35 changed files with 888 additions and 709 deletions
+3 -3
View File
@@ -48,6 +48,9 @@ import (
vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1"
)
// Alternatively the AppConfig can be defined as a YAML or a JSON file.
// e.g. https://github.com/cosmos/cosmos-sdk/blob/91b1d83f1339e235a1dfa929ecc00084101a19e3/simapp/app.yaml
var AppConfig = appconfig.Compose(&appv1alpha1.Config{
Modules: []*appv1alpha1.ModuleConfig{
{
@@ -122,7 +125,6 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{
},
}),
},
{
Name: vestingtypes.ModuleName,
Config: appconfig.WrapAny(&vestingmodulev1.Module{}),
@@ -202,5 +204,3 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{
},
},
})
// Alternatively this configuration can be set as yaml or json: https://github.com/cosmos/cosmos-sdk/blob/91b1d83f1339e235a1dfa929ecc00084101a19e3/simapp/app.yaml