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

EIP-6110: Supply validator deposits on chain #1079

Merged
merged 4 commits into from
Dec 16, 2024
Merged

EIP-6110: Supply validator deposits on chain #1079

merged 4 commits into from
Dec 16, 2024

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Dec 4, 2024

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.29%. Comparing base (2939b9f) to head (50135e0).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
test/state/requests.cpp 92.30% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1079   +/-   ##
=======================================
  Coverage   94.29%   94.29%           
=======================================
  Files         159      159           
  Lines       17095    17114   +19     
=======================================
+ Hits        16120    16138   +18     
- Misses        975      976    +1     
Flag Coverage Δ
eof_execution_spec_tests 23.69% <46.15%> (+0.03%) ⬆️
ethereum_tests 26.47% <7.69%> (-0.03%) ⬇️
ethereum_tests_silkpre 19.06% <0.00%> (-0.02%) ⬇️
execution_spec_tests 20.81% <69.23%> (+0.44%) ⬆️
unittests 89.28% <57.69%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
test/blockchaintest/blockchaintest_runner.cpp 79.61% <100.00%> (+0.19%) ⬆️
test/state/requests.hpp 75.00% <100.00%> (+75.00%) ⬆️
test/t8n/t8n.cpp 88.02% <100.00%> (+0.14%) ⬆️
test/state/requests.cpp 96.42% <92.30%> (-3.58%) ⬇️

@gumb0 gumb0 self-assigned this Dec 5, 2024
@gumb0 gumb0 force-pushed the eip-6110 branch 13 times, most recently from c839965 to 1ab64f4 Compare December 9, 2024 20:37
@gumb0 gumb0 changed the base branch from master to eip-7685 December 10, 2024 10:43
@gumb0 gumb0 force-pushed the eip-6110 branch 4 times, most recently from d8edd6d to 8c53136 Compare December 10, 2024 18:18
@gumb0 gumb0 force-pushed the eip-6110 branch 2 times, most recently from ffd169f to a364927 Compare December 10, 2024 18:28
@gumb0 gumb0 added the Prague Changes for Prague upgrade label Dec 11, 2024
@gumb0 gumb0 force-pushed the eip-6110 branch 2 times, most recently from 371a7b3 to e226cb0 Compare December 11, 2024 13:23
Base automatically changed from eip-7685 to master December 11, 2024 16:18
@gumb0 gumb0 force-pushed the eip-6110 branch 2 times, most recently from 7cbe30d to 4370a98 Compare December 12, 2024 11:03
@gumb0 gumb0 force-pushed the eip-6110 branch 2 times, most recently from 6712475 to c04a3fe Compare December 12, 2024 19:21
@@ -37,9 +38,15 @@ struct Requests
Type type = Type::deposit;
/// Requests data - an opaque byte array, contains zero or more encoded request objects.
evmc::bytes data;

explicit Requests(Type _type, evmc::bytes _data = {}) noexcept
Copy link
Member Author

Choose a reason for hiding this comment

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

Needed to make vector::emplace_back() work for this struct on some compilers.

Copy link
Member

Choose a reason for hiding this comment

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

I use other workaround: emplace_back(Requests{...}). I wonder which pattern is easier to find later...

Copy link
Member Author

Choose a reason for hiding this comment

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

Usually me too, but this time I think I got error from clang-tidy "unnecessary temporary object created"

@gumb0 gumb0 marked this pull request as ready for review December 12, 2024 19:47
@gumb0 gumb0 requested review from pdobacz and chfast December 12, 2024 19:50
@chfast chfast requested a review from Copilot December 12, 2024 19:52

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 5 changed files in this pull request and generated no suggestions.

Files not reviewed (4)
  • test/blockchaintest/blockchaintest_runner.cpp: Language not supported
  • test/state/requests.cpp: Language not supported
  • test/state/requests.hpp: Language not supported
  • test/t8n/t8n.cpp: Language not supported
@gumb0 gumb0 merged commit eae2791 into master Dec 16, 2024
25 checks passed
@gumb0 gumb0 deleted the eip-6110 branch December 16, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prague Changes for Prague upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants