-
Notifications
You must be signed in to change notification settings - Fork 317
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
Conversation
Codecov ReportAttention: Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more.
|
c839965
to
1ab64f4
Compare
d8edd6d
to
8c53136
Compare
ffd169f
to
a364927
Compare
371a7b3
to
e226cb0
Compare
7cbe30d
to
4370a98
Compare
6712475
to
c04a3fe
Compare
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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
https://eips.ethereum.org/EIPS/eip-6110