Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Sep 16, 2024
1 parent 1ff734d commit c31ed3b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions simsx/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,15 @@ func (f AppOptionsFn) Get(k string) any {
return f(k)
}

func (f AppOptionsFn) GetString(k string) string {
val := f(k)
ret, ok := val.(string)
if !ok {
panic(fmt.Sprintf("app options value is not a string: %T", val))
}
return ret
}

// FauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of
// an IAVLStore for faster simulation speed.
func FauxMerkleModeOpt(bapp *baseapp.BaseApp) {
Expand Down

0 comments on commit c31ed3b

Please sign in to comment.