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

use MessageRunMode struct #2779

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

use MessageRunMode struct #2779

wants to merge 19 commits into from

Conversation

magicxyyz
Copy link
Contributor

@magicxyyz magicxyyz commented Nov 8, 2024

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Nov 8, 2024
@magicxyyz magicxyyz changed the base branch from master to ondemand-module-compile November 8, 2024 15:51
@@ -1424,7 +1406,7 @@ func Create2ndNodeWithConfig(
Require(t, err)
wasmData, err := chainStack.OpenDatabaseWithExtraOptions("wasm", 0, 0, "wasm/", false, conf.PersistentConfigDefault.Pebble.ExtraOptions("wasm"))
Require(t, err)
chainDb := rawdb.WrapDatabaseWithWasm(chainData, wasmData, wasmCacheTag, execConfig.StylusTarget.WasmTargets())
chainDb := rawdb.WrapDatabaseWithWasm(chainData, wasmData)
Copy link
Contributor Author

@magicxyyz magicxyyz Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as now the wasm tag is coupled with MessageRunContext: are we ok with the all tests running with wasm long term cache enabled?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with tests using long-term cache is that multiple tests run in parallel, and in prallel with other tests initializing static vars etc. It's.. probably o.k. as long as the tests that do target long-term cache are not run in parallel with anything else.

@magicxyyz magicxyyz marked this pull request as ready for review November 15, 2024 15:19
Base automatically changed from ondemand-module-compile to master January 10, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants