Skip to content

Commit

Permalink
refactor: replace app wiring yaml config by go (cosmos#12757)
Browse files Browse the repository at this point in the history
* refactor: end-to-end tests should use simapp

* updates

* updates

* remove unecessary AppWiring
  • Loading branch information
julienrbrt authored Jul 29, 2022
1 parent 64ee551 commit 21dfe02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down Expand Up @@ -122,7 +125,6 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{
},
}),
},

{
Name: vestingtypes.ModuleName,
Config: appconfig.WrapAny(&vestingmodulev1.Module{}),
Expand Down Expand Up @@ -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

0 comments on commit 21dfe02

Please sign in to comment.