You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧐 Motivation this library provides a solidity level interface to execute calls/staticcalls/delegate call without automatically dupping all the return data to memory. This makes it return-bomb safe.
We should build a similar library an use it in places such as the Forwarder.
The text was updated successfully, but these errors were encountered:
@cairoeth brought up the idea of whether to add this functions as part of the Address. I see it could benefit discoverability since it would be easier for users already depending on this library to find out they have a version that ignores returndata available.
I think it's a good idea to consider but perhaps Address is already a weird name for developers looking for ways to perform variants of EVM calls.
As mentionned on slack, we should focus on avoiding any possible mistake between the current functions in Address.sol, and the "unsafe" ones proposed here. That can be using a separate library (my preference right now), or through proper naming.
We have to make sure mistakes are as unlkikelly to happen as possible.
Amxx
linked a pull request
Jun 19, 2024
that will
close
this issue
🧐 Motivation
this library provides a solidity level interface to execute calls/staticcalls/delegate call without automatically dupping all the return data to memory. This makes it return-bomb safe.
We should build a similar library an use it in places such as the Forwarder.
The text was updated successfully, but these errors were encountered: