Timeline for How to perform delegate call inside of view call (staticall)?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 12, 2023 at 13:11 | history | edited | k06a | CC BY-SA 4.0 |
added 142 characters in body
|
May 26, 2022 at 23:29 | comment | added | Cliff Hall | Ismael's point is a good one. This pattern works as long as the delegatecall isn't invoking a method where calling context (msg.sender, msg.value, etc.) matters. Otherwise that context will be lost when the staticcall happens. | |
Apr 10, 2020 at 17:05 | comment | added | Ismael♦ | A static call is different from a delegate call, for example delegate doesn't change msg.sender and static call does change it. | |
Apr 10, 2020 at 13:47 | history | answered | k06a | CC BY-SA 4.0 |