ERC2771 compatibility

This commit is contained in:
hueso
2026-06-01 21:51:18 +00:00
committed by hueso
parent 6ef27ef916
commit 453adf4e0c
3 changed files with 11 additions and 23 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ abstract contract OwnerSettings is
sLoc := add(sLoc, 0x20)
} {
// cache hashmap entry in scratch space
mstore(0x20, isTrustedForwarder.slot)
mstore(0x20, trustedForwarders.slot)
mstore(0x00, mload(fLoc))
// let mapSlot := keccak256(0x00, 0x40)
sstore(keccak256(0x00, 0x40), mload(sLoc))