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

Check that para id has been reserved #713

Merged
merged 8 commits into from
Oct 15, 2024

Conversation

tmpolaczyk
Copy link
Contributor

@tmpolaczyk tmpolaczyk commented Oct 3, 2024

Currently anyone can register any para id in Stagelight. With this PR we add a check for Registrar::reserve, so accounts will only be able to register para ids that they have previously reserved.

Copy link
Contributor

github-actions bot commented Oct 3, 2024

Coverage Report

(master)

@@                         Coverage Diff                         @@
##           master   tomasz-register-reserve-para-id      +/-   ##
===================================================================
+ Coverage   64.94%                            64.97%   +0.03%     
  Files         296                               296              
+ Lines       51776                             51817      +41     
===================================================================
+ Hits        33625                             33666      +41     
  Misses      18151                             18151              
Files Changed Coverage
/solo-chains/runtime/dancelight/src/genesis_config_presets.rs 58.02% (+0.62%)
/solo-chains/runtime/dancelight/src/lib.rs 67.46% (+0.10%)

Coverage generated Tue Oct 15 09:13:17 UTC 2024

@tmpolaczyk tmpolaczyk added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes breaking Needs to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Oct 3, 2024
Copy link
Contributor

github-actions bot commented Oct 14, 2024

WASM runtime size check:

Compared to target branch

dancebox runtime: 1412 KB (no changes) ✅

flashbox runtime: 824 KB (no changes) ✅

dancelight runtime: 1820 KB (no changes) ✅

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

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

@tmpolaczyk tmpolaczyk merged commit a5ae7f6 into master Oct 15, 2024
41 checks passed
@tmpolaczyk tmpolaczyk deleted the tomasz-register-reserve-para-id branch October 15, 2024 10:59
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 breaking Needs to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants