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

Check reserved slots in protected storage on SLOAD #167

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

dartdart26
Copy link
Collaborator

First check if the handle to load in SLOAD is in the reserved protected storage slots list. If yes, do not try to verify it as a ciphertext.

Add unit tests for reserved protected storage slots for both SSTORE and SLOAD.

Resolves #166.

First check if the handle to load in SLOAD is in the reserved protected
storage slots list. If yes, do not try to verify it as a ciphertext.

Add unit tests for reserved protected storage slots for both SSTORE and
SLOAD.

Resolves #166.
Copy link
Contributor

@tremblaythibaultl tremblaythibaultl left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@dartdart26 dartdart26 merged commit 52c7d94 into 1.10.19-zama Sep 19, 2023
1 check passed
@dartdart26 dartdart26 deleted the petar/check-reserved-protected-on-sload branch September 19, 2023 08:39
dartdart26 added a commit to zama-ai/fhevm that referenced this pull request Sep 19, 2023
lovenoble added a commit to lovenoble/fhevm that referenced this pull request Jul 23, 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.

Take reservedProtectedStorageSlots into consideration in opSload
3 participants