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

Prevent std feature injection in runtime-benchmarks feature #753

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

ParthDesai
Copy link
Contributor

@ParthDesai ParthDesai commented Nov 18, 2024

Description

There was a bug in compilation of dancelight runtime with runtime-benchmarks in commit f8b66f3.

In that commit we were accidentally injecting std feature into runtime-benchmarks feature in external-validator-slashes pallet. This PR removes it.

@ParthDesai ParthDesai added not-breaking Does not need to be mentioned in breaking changes B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Nov 18, 2024
Copy link
Contributor

WASM runtime size check:

Compared to target branch

dancebox runtime: 1412 KB (no changes) ✅

flashbox runtime: 832 KB (no changes) ✅

dancelight runtime: 2008 KB (+2008 KB) ⚠️

container chain template simple runtime: 1088 KB (-4224 KB) ✅

container chain template frontier runtime: 1388 KB (-5136 KB) ✅

Copy link
Contributor

Coverage Report

(master)

@@                            Coverage Diff                             @@
##           master   fix-runtime-benchmark-compilation-issue     +/-   ##
==========================================================================
  Coverage   65.34%                                    65.34%   0.00%     
  Files         310                                       310             
  Lines       54174                                     54174             
==========================================================================
  Hits        35395                                     35395             
  Misses      18779                                     18779             
Files Changed Coverage

Coverage generated Mon Nov 18 20:44:24 UTC 2024

@girazoki girazoki merged commit dc06beb into master Nov 19, 2024
45 of 50 checks passed
@girazoki girazoki deleted the fix-runtime-benchmark-compilation-issue branch November 19, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants