We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff734d commit c31ed3bCopy full SHA for c31ed3b
simsx/runner.go
@@ -361,6 +361,15 @@ func (f AppOptionsFn) Get(k string) any {
361
return f(k)
362
}
363
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
+
373
// FauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of
374
// an IAVLStore for faster simulation speed.
375
func FauxMerkleModeOpt(bapp *baseapp.BaseApp) {
0 commit comments