Skip to content

Commit

Permalink
T
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Feb 18, 2025
1 parent 7b45729 commit 6c6a471
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/accounts/LibEIP7702.sol
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ library LibEIP7702 {
/// @solidity memory-safe-assembly
assembly {
if iszero(shl(96, sload(ERC1967_IMPLEMENTATION_SLOT))) {
// Use a dedicated transient storage slot for better Swiss-cheese-model safety.
tstore(_EIP7702_PROXY_DELEGATION_INITIALIZATION_REQUEST_SLOT, address())
}
}
Expand Down

0 comments on commit 6c6a471

Please sign in to comment.