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

Access storage refactor #33

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Access storage refactor #33

merged 1 commit into from
Sep 21, 2022

Conversation

ignasirv
Copy link
Contributor

@ignasirv ignasirv commented Sep 7, 2022

  • Full tracer: Obtain depth value from rom var
  • Refactor of warm storage management:
    • Removed all functions logic (touchedAddress/touchedStorageSlots/resetTouchedAddress/resetStorageSlots)
    • Added new functions:
      • checkpoint: Creates new storage checkpoint for warm slots and addresses
      • commit: Consolidates checkpoint, merge last access storage with beforeLast access storage
      • revert: Revert accessedStorage to last checkpoint
      • isWarmedAddress: Checks if the address is warm or cold. In case of cold, the address is added as warm
      • isWarmedStorage: Checks if the storage slot of the account is warm or cold. In case of cold, the slot is added as warm

Copy link
Contributor

@krlosMata krlosMata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸

@krlosMata krlosMata changed the base branch from main to develop September 21, 2022 11:08
@krlosMata krlosMata merged commit 4f0f1e8 into develop Sep 21, 2022
@ignasirv ignasirv deleted the feature/access-storage branch September 30, 2022 10:05
krlosMata added a commit that referenced this pull request Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants