Skip to content

Commit 00ff9ba

Browse files
committed
add memory safe annotation
1 parent 640529a commit 00ff9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vendor/CowWrapper.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ abstract contract CowWrapper is ICowWrapper {
139139

140140
if (!success) {
141141
// Bubble up the revert reason from the settlement contract
142-
assembly {
142+
assembly ("memory-safe") {
143143
revert(add(returnData, 0x20), mload(returnData))
144144
}
145145
}

0 commit comments

Comments
 (0)