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
I ran slither . --print function-summary to view external calls for functions. The resulting "External Calls" column treats any statement with a . as an external call. This includes solidity built-ins like abi.encode, library accesses like Address.sendValue, and struct field accesses.
mds1
changed the title
[Bug-Candidate]: all statements with . are treated as external calls
[Bug-Candidate]: all statements with . are reported as external calls
Aug 1, 2023
0xalpharush
changed the title
[Bug-Candidate]: all statements with . are reported as external calls
[Bug]: all statements with . are reported as external calls
Apr 10, 2024
EDIT: What external_calls_as_expressions returns seems wrong as the comment says it should be calls which create a message (new call frame). Instead I think it would work to filter out SolidityVariable here
Describe the issue:
I ran
slither . --print function-summary
to view external calls for functions. The resulting "External Calls" column treats any statement with a.
as an external call. This includes solidity built-ins likeabi.encode
, library accesses likeAddress.sendValue
, and struct field accesses.Code example to reproduce the issue:
Version:
0.9.6
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: