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

1660 tests for sload and sstore where one of these instructions has multiple revert reasons #1748

Open
wants to merge 16 commits into
base: arith-dev
Choose a base branch
from

Conversation

lorenzogentile404
Copy link
Collaborator

No description provided.

@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Jan 30, 2025

Hey @lorenzogentile404 , the original issue describes the case where it's always the same smart contract whose storage changes. I.e. it's performing self calls. From what I saw on our calls the tests don't directly address the issue. We can definitively keep the A, B, C, D, E version, but the original issue asks for self calls of some smart contract smcA.

We should implement two versions

  • root reverts
  • root does not revert

Where whether a revert takes place depends on e.g. the parity of the integer in call data.

Copy link

sonarqubecloud bot commented Feb 5, 2025

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.

Tests for SLOAD and SSTORE where one of these instructions has multiple revert reasons
2 participants