Closed wewecalibrate closed 4 months ago
The recent updates to the ExoCapsule system introduce a new error definition, UnmatchedValidatorAndWithdrawal
, to ensure that the state roots of validator and withdrawal proofs match. Additionally, a function in BeaconChainProofs
has been renamed and its parameter formatting adjusted. These changes enhance error handling and code clarity.
File | Change Summary |
---|---|
src/core/ExoCapsule.sol |
Added UnmatchedValidatorAndWithdrawal error definition and included validation for state roots |
src/libraries/BeaconChainProofs.sol |
Renamed function isValidWCRootAgainstExecutionPayloadRoot to isValidWCRootAgainstBlockRoot , and adjusted parameter formatting. |
In the realm of code so bright, Errors now are clear as light. 🌟 Validators and withdrawals must align, Else an error will confine. Proofs refined, functions named anew, ExoCapsule shines, for me and you. 🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Linting failed. Please check the logs.
Linting failed. Please check the logs.
Linting failed. Please check the logs.
isValidWCRootAgainstBlockRoot
Summary by CodeRabbit
ExoCapsule
contract to ensure matching state roots for validator and withdrawal proofs.BeaconChainProofs
library.