Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Ernesto García <[email protected]>
  • Loading branch information
frangio and ernestognw authored Aug 4, 2023
commit f9904fa46b05a9793f91057a6904763898ab191a
4 changes: 1 addition & 3 deletions contracts/metatx/ERC2771Forwarder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ contract ERC2771Forwarder is EIP712, Nonces {
error ERC2771ForwarderExpiredRequest(uint48 deadline);

/**
* @dev The request targert doesn't trust the `forwarder`.
* @dev The request target doesn't trust the `forwarder`.
*/
error ERC2771UntrustfulTarget(address target, address forwarder);

Expand Down Expand Up @@ -314,8 +314,6 @@ contract ERC2771Forwarder is EIP712, Nonces {
uint256 returnValue;
/// @solidity memory-safe-assembly
assembly {
// Because the return value is a boolean (requires 1 byte copied to memory) and the
// calldata length is 24 bytes, we can safely reuse the scratch space in memory (0x00 - 0x3F).

// Perform the staticcal and save the result in the scratch space.
// | Location | Content | Content (Hex) |
Expand Down