Skip to content

Commit

Permalink
feat: add testnetify logic (#506)
Browse files Browse the repository at this point in the history
* add testnetify logic

* clarify explanation

* handle errors

* remove testnet app creator

* simplify some logic

* remove redundancy

* lints

* gci imports

* add set store loader method

* trigger upgrade flag

* add extra comments to the CLI command
  • Loading branch information
czarcas7ic authored Feb 6, 2024
1 parent 54cc86a commit 97b06aa
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 49 deletions.
5 changes: 5 additions & 0 deletions baseapp/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ func SetChainID(chainID string) func(*BaseApp) {
return func(app *BaseApp) { app.chainID = chainID }
}

// SetStoreLoader allows us to customize the rootMultiStore initialization.
func SetStoreLoader(loader StoreLoader) func(*BaseApp) {
return func(app *BaseApp) { app.SetStoreLoader(loader) }
}

func (app *BaseApp) SetName(name string) {
if app.sealed {
panic("SetName() on sealed BaseApp")
Expand Down
Loading

0 comments on commit 97b06aa

Please sign in to comment.