Skip to content

Commit c31ed3b

Browse files
committed
Fix merge issue
1 parent 1ff734d commit c31ed3b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

simsx/runner.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,15 @@ func (f AppOptionsFn) Get(k string) any {
361361
return f(k)
362362
}
363363

364+
func (f AppOptionsFn) GetString(k string) string {
365+
val := f(k)
366+
ret, ok := val.(string)
367+
if !ok {
368+
panic(fmt.Sprintf("app options value is not a string: %T", val))
369+
}
370+
return ret
371+
}
372+
364373
// FauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of
365374
// an IAVLStore for faster simulation speed.
366375
func FauxMerkleModeOpt(bapp *baseapp.BaseApp) {

0 commit comments

Comments
 (0)