Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive node migration v5.7.5 hotfix #1895

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Next Next commit
Fix seidb default config value for KeepLastVersion
yzang2019 authored and udpatil committed Aug 6, 2024

Verified

This commit was signed with the committer’s verified signature.
JoelSpeed Joel Speed
commit 7d79e0a6740820c61c39ae2c2953f36c367fc2a3
7 changes: 4 additions & 3 deletions app/test_helpers.go
Original file line number Diff line number Diff line change
@@ -46,15 +46,16 @@ func (t TestTx) ValidateBasic() error {
}

type TestAppOpts struct {
useSc bool
useSC bool
useSS bool
}

func (t TestAppOpts) Get(s string) interface{} {
if s == "chain-id" {
return "sei-test"
}
if s == FlagSCEnable {
return t.useSc
return t.useSC
}
return nil
}
@@ -247,7 +248,7 @@ func SetupWithSc(isCheckTx bool, enableEVMCustomPrecompiles bool, baseAppOptions
config.TestConfig(),
encodingConfig,
wasm.EnableAllProposals,
TestAppOpts{true},
TestAppOpts{true, false},
EmptyWasmOpts,
EmptyACLOpts,
options,