Skip to content

Commit

Permalink
Merge pull request #1444 from crytic/fix-read-storage-inheritance
Browse files Browse the repository at this point in the history
use state_variables_ordered  API
  • Loading branch information
montyly authored Oct 26, 2022
2 parents a16aa7e + 4479b61 commit 440ac4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/tools/read_storage/read_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def get_all_storage_variables(self, func: Callable = None) -> None:
func,
[
(contract, var)
for var in contract.variables
for var in contract.state_variables_ordered
if not var.is_constant and not var.is_immutable
],
)
Expand Down

0 comments on commit 440ac4b

Please sign in to comment.