Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add --unstructured to slither-read-storage; retrieve custom storage layouts #1963

Merged
merged 85 commits into from
Jun 20, 2023

Conversation

0xalpharush
Copy link
Contributor

replaces #1752

webthethird and others added 30 commits March 13, 2023 12:29
in `coerce_type(solidity_type, value)`
i.e., all constant bytes32 variables
before calling `get_storage_layout`
using slither-read-storage
check function return type sizes, and add comments
in `find_constant_slot_storage_type`
instead of string casting
and `test_unstructured_storage`
by moving them into individual files in tests/fixtures/
and importing them into conftest.py
…ge-unstructured

# Conflicts:
#	slither/tools/read_storage/read_storage.py
#	tests/test_read_storage.py
Now that the fixtures are stand-alone modules, Web3 is no longer used here other than web3.Contract
Co-authored-by: alpharush <0xalpharush@protonmail.com>
instead of separate files
in `find_hardcoded_slot_in_fallback`
@0xalpharush 0xalpharush added this to the 0.9.4 milestone Jun 20, 2023
@0xalpharush 0xalpharush merged commit cec07db into dev Jun 20, 2023
@0xalpharush 0xalpharush deleted the dev-read-storage-unstructured2 branch June 20, 2023 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants