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

🥢 Nit EIP7702Proxy comments #1362

Merged
merged 1 commit into from
Feb 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/accounts/EIP7702Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ contract EIP7702Proxy {
// Workflow for the EIP7702 authority (i.e. the EOA).
let impl := sload(_ERC1967_IMPLEMENTATION_SLOT) // The preferred implementation on the EOA.
calldatacopy(0x00, 0x00, calldatasize()) // Copy the calldata for the delegatecall.
// If the EOA's implementation, perform the initialization workflow.
// If the preferred implementation is `address(0)`, perform the initialization workflow.
if iszero(shl(96, impl)) {
if iszero(
and( // The arguments of `and` are evaluated from right to left.
Expand Down
Loading