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

Add pallet_pooled_staking to Dancelight #774

Merged
merged 16 commits into from
Dec 12, 2024
Merged

Conversation

tmpolaczyk
Copy link
Contributor

@tmpolaczyk tmpolaczyk commented Dec 3, 2024

Add pallet_pooled_staking to Dancelight. Container chain collators will be selected first from invulnerables, and then from staking.

Copy link
Contributor

github-actions bot commented Dec 3, 2024

WASM runtime size check:

Compared to target branch

dancebox runtime: 1428 KB (no changes) ✅

flashbox runtime: 824 KB (no changes) ✅

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

container chain template simple runtime: 1124 KB (-4296 KB) ✅

container chain template frontier runtime: 1400 KB (-5152 KB) ✅

The max_collators config item was being ignored in Dancelight before
this PR
Copy link
Contributor

github-actions bot commented Dec 3, 2024

Coverage Report

(master)

@@                     Coverage Diff                      @@
##           master   tomasz-starlight-staking      +/-   ##
============================================================
+ Coverage   64.76%                     65.28%   +0.52%     
+ Files         323                        325       +2     
+ Lines       55740                      56845    +1105     
============================================================
+ Hits        36097                      37109    +1012     
+ Misses      19643                      19736      +93     
Files Changed Coverage
/solo-chains/runtime/dancelight/src/genesis_config_presets.rs 59.91% (+0.96%)
/solo-chains/runtime/dancelight/src/lib.rs 68.24% (+0.43%)

Coverage generated Thu Dec 12 11:58:42 UTC 2024

@tmpolaczyk tmpolaczyk marked this pull request as ready for review December 3, 2024 16:14
@tmpolaczyk tmpolaczyk added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes breaking Needs to be mentioned in breaking changes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Dec 3, 2024
@Agusrodri
Copy link
Contributor

Changes look good to me! Could we add at least one integration test to check the overall functioning of the pooled staking inside dancelight?

@girazoki
Copy link
Collaborator

girazoki commented Dec 9, 2024

And a description please @tmpolaczyk

@tmpolaczyk
Copy link
Contributor Author

I separated the typescript tests to a new PR because they are not trivial, and not ready yet. #782

@tmpolaczyk tmpolaczyk merged commit 4147496 into master Dec 12, 2024
42 checks passed
@tmpolaczyk tmpolaczyk deleted the tomasz-starlight-staking branch December 12, 2024 15:47
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 D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants