Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Oct 18, 2024
1 parent bb241b2 commit 6593e70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libraries/CustomRevert.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ library CustomRevert {
}

/// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error
function bubbleUpAndRevertWith(address revertingContract, bytes4 revertingFunctionSelector, bytes4 additionalContext) internal pure {
function bubbleUpAndRevertWith(
address revertingContract,
bytes4 revertingFunctionSelector,
bytes4 additionalContext
) internal pure {
bytes4 wrappedErrorSelector = WrappedError.selector;
assembly ("memory-safe") {
let size := returndatasize()
Expand Down

0 comments on commit 6593e70

Please sign in to comment.