Consider the usage of staticcall for read only cross-contract calls #48
Labels
good practices
Good code practices
needs discussion
This issue needs more discussion before its implementation
question
Further information is requested
Staticcall can be useful for functions where only a return value is desired and state changes are unwanted. It add an extra layer of safety since it will revert if the contract called causes a state change and can save some gas.
Food for thoughts:
The text was updated successfully, but these errors were encountered: