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

Fix invulnerables benchmark for dancelight #757

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

tmpolaczyk
Copy link
Contributor

It used to fail because 256 bytes of randomness is not enough to create all the relay keys. Now we use an unlimited rng as input, supports arbitrarily large session keys.

Copy link
Contributor

github-actions bot commented Nov 20, 2024

WASM runtime size check:

Compared to target branch

dancebox runtime: 1412 KB (no changes) ✅

flashbox runtime: 832 KB (no changes) ✅

dancelight runtime: 2008 KB (no changes) ✅

container chain template simple runtime: 1088 KB (no changes) ✅

container chain template frontier runtime: 1388 KB (no changes) ✅

Copy link
Contributor

github-actions bot commented Nov 20, 2024

Coverage Report

(master)

@@                     Coverage Diff                     @@
##           master   tomasz-bench-invuln-rng      +/-   ##
===========================================================
- Coverage   65.34%                    65.33%   -0.01%     
+ Files         310                       311       +1     
+ Lines       54174                     54198      +24     
===========================================================
+ Hits        35395                     35407      +12     
+ Misses      18779                     18791      +12     
Files Changed Coverage
/client/service-container-chain/src/chain_spec.rs 100.00% (+80.95%)
/pallets/invulnerables/src/weights.rs 25.56% (-12.22%)

Coverage generated Fri Nov 22 11:12:10 UTC 2024

@tmpolaczyk tmpolaczyk added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes not-breaking Does not need to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Nov 20, 2024
@tmpolaczyk tmpolaczyk merged commit 464a1eb into master Nov 22, 2024
42 checks passed
@tmpolaczyk tmpolaczyk deleted the tomasz-bench-invuln-rng branch November 22, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade 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