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

Remove node requirement to build with runtime-benchmarks #801

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

orriin
Copy link
Contributor

@orriin orriin commented Sep 11, 2024

The genesis runtime was built with the runtime-benchmarks feature, making it expect the node to always expose benchmarking host functions even though they're never used.

Even though the current runtime wasm is no longer built with runtime-benchmarks, the node uses old wasm blobs during sync so it is necessary to keep them exposed.

To solve this to date, we just have been always compiling with the runtime-benchmarks feature.

This PR removes this feature requirement by including benchmark host functions in regular builds.

@orriin orriin added the no-spec-version-bump PR does not contain changes that requires bumping the spec version label Sep 12, 2024
@orriin orriin merged commit 2069a48 into devnet-ready Sep 12, 2024
10 checks passed
distributedstatemachine pushed a commit that referenced this pull request Sep 23, 2024
Remove node requirement to build with `runtime-benchmarks`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-spec-version-bump PR does not contain changes that requires bumping the spec version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants