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

Use structured symbolic storage with symbolicStorage/--symbolic-storage #577

Open
palinatolmach opened this issue May 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@palinatolmach
Copy link
Collaborator

PR #571 by @anvacaru adds support for preserving storage fields in otherwise symbolic storage for contracts during CSE. As discussed today, we can perhaps do the same thing when making contracts' storage symbolic during the execution; it is currently done via symbolicStorage(address) cheatcode, but it might be easier to do through introducing a CLI argument --symbolic-storage — that would probably mean that all contracts getting deployed during the execution would have symbolic storage by default.

That would make constraints more compact and readable as that'll substitute, e.g., SF_C:Int instead of #lookup ( CONTRACT_STORAGE:Map , 0 ), which might bring usability and performance improvements. That would, however, require extending support for more storage field types than is present in #571.

@palinatolmach palinatolmach added the enhancement New feature or request label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant