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

Eth Beacon receiver in dancelight #717

Merged
merged 30 commits into from
Oct 21, 2024
Merged

Eth Beacon receiver in dancelight #717

merged 30 commits into from
Oct 21, 2024

Conversation

girazoki
Copy link
Collaborator

@girazoki girazoki commented Oct 9, 2024

This PR adds the eth beacon receiver pallet from snowbridge. I also did set it up to Holesky in dancelight, as we will be connected to it.

I am mostly re-using the tests jsons generated by snowbridge in this case as I dont think it is worth generating new ones. These should also make sure our tests break if something in the pallet changes.

The main tests I am adding are for:

  • header updates
  • sync committee updates

@girazoki girazoki 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 Oct 9, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

WASM runtime size check:

Compared to target branch

dancebox runtime: 1416 KB (no changes) ✅

flashbox runtime: 836 KB (no changes) ✅

dancelight runtime: 1980 KB (no changes) ✅

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

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

Copy link
Contributor

github-actions bot commented Oct 10, 2024

Coverage Report

(master)

@@                    Coverage Diff                     @@
##           master   girazoki-eth-receiver-      +/-   ##
==========================================================
+ Coverage   64.78%                   64.93%   +0.15%     
+ Files         297                      299       +2     
+ Lines       51963                    52255     +292     
==========================================================
+ Hits        33661                    33927     +266     
+ Misses      18302                    18328      +26     
Files Changed Coverage
/solo-chains/runtime/dancelight/src/lib.rs 67.49% (+0.03%)
/solo-chains/runtime/dancelight/src/tests/common/mod.rs 96.42% (+0.03%)

Coverage generated Mon Oct 21 09:37:10 UTC 2024

Copy link
Collaborator

@ParthDesai ParthDesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems alright. Apart from the minor issue in test @tmpolaczyk reported.

@girazoki girazoki merged commit 2e13202 into master Oct 21, 2024
41 checks passed
@girazoki girazoki deleted the girazoki-eth-receiver- branch October 21, 2024 09:55
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