Tag memory safe assembly blocks (#5193)

Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
cairo
2024-09-09 21:49:34 +02:00
committed by Hadrien Croubois
parent 54fbcb8b10
commit 300d66d6e7
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ library ERC165Checker {
bool success;
uint256 returnSize;
uint256 returnValue;
assembly {
assembly ("memory-safe") {
success := staticcall(30000, account, add(encodedParams, 0x20), mload(encodedParams), 0x00, 0x20)
returnSize := returndatasize()
returnValue := mload(0x00)