test: fix sims (#21735)
This commit is contained in:
@@ -93,7 +93,12 @@ jobs:
|
||||
|
||||
sims-notify-success:
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
[
|
||||
test-sim-multi-seed-short,
|
||||
test-sim-after-import,
|
||||
test-sim-import-export,
|
||||
test-sim-deterministic,
|
||||
]
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ success() }}
|
||||
steps:
|
||||
@@ -120,7 +125,12 @@ jobs:
|
||||
permissions:
|
||||
contents: none
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
[
|
||||
test-sim-multi-seed-short,
|
||||
test-sim-after-import,
|
||||
test-sim-import-export,
|
||||
test-sim-deterministic,
|
||||
]
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ failure() }}
|
||||
steps:
|
||||
|
||||
@@ -83,7 +83,12 @@ jobs:
|
||||
|
||||
sims-notify-success:
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
[
|
||||
test-sim-multi-seed-short,
|
||||
test-sim-after-import,
|
||||
test-sim-import-export,
|
||||
test-sim-deterministic,
|
||||
]
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ success() }}
|
||||
steps:
|
||||
@@ -111,7 +116,12 @@ jobs:
|
||||
permissions:
|
||||
contents: none
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
[
|
||||
test-sim-multi-seed-short,
|
||||
test-sim-after-import,
|
||||
test-sim-import-export,
|
||||
test-sim-deterministic,
|
||||
]
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ failure() }}
|
||||
steps:
|
||||
|
||||
+6
-1
@@ -493,7 +493,12 @@ func (m mapGetter) Get(key string) interface{} {
|
||||
}
|
||||
|
||||
func (m mapGetter) GetString(key string) string {
|
||||
return m[key].(string)
|
||||
str, ok := m[key]
|
||||
if !ok {
|
||||
return ""
|
||||
}
|
||||
|
||||
return str.(string)
|
||||
}
|
||||
|
||||
var _ servertypes.AppOptions = mapGetter{}
|
||||
|
||||
@@ -236,7 +236,12 @@ func (f AppOptionsFn) Get(k string) any {
|
||||
}
|
||||
|
||||
func (f AppOptionsFn) GetString(k string) string {
|
||||
return f(k).(string)
|
||||
str, ok := f(k).(string)
|
||||
if !ok {
|
||||
return ""
|
||||
}
|
||||
|
||||
return str
|
||||
}
|
||||
|
||||
// FauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of
|
||||
|
||||
Reference in New Issue
Block a user