The presently audited contract is designed for Ethereum validator management. In particular, it aids in batch consolidation, batch withdrawals, and batch switching from type 1 withdrawal credentials to type 2 withdrawal credentials. It is intended to be delegated to by an EOA via a capability introduced in EIP-7702 as part of the Pectra hard fork. No severe vulnerabilities were found. Those low-severity vulnerabilities that were found have relatively simple fixes. Regarding the test suite, we recommend making use of Pectra-related capabilities in Foundry. **Update**: All the issues were addressed, and the test suite was improved to include e.g. delegation using EIP-7702.
Low | Medium | High | Critical | Total | |
---|---|---|---|---|---|
Not fixed | - | - | - | - | 0 |
Fixed | 3 | - | - | - | 3 |
Total | 3 | 0 | 0 | 0 | 3 |
# | Github Repository | Commit Hash | File | Url |
---|---|---|---|---|
1 | Luganodes/Pectra-Batch-Contract | f63befb9abaa7a715d3a27b9595c965932d21e61 | src/Pectra.sol | Check on Github |