-
Notifications
You must be signed in to change notification settings - Fork 267
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
Addition of Transient Storage Opcodes #2778
Draft
fmacleal
wants to merge
21
commits into
master
Choose a base branch
from
fmacleal/addition_transient_storage_opcodes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The tests are still failing, I am investigating to find the root cause
… Arrays.copyOfRange; add more tests
….java Co-authored-by: Nazaret García Revetria <nazaret@iovlabs.org>
fmacleal
force-pushed
the
fmacleal/addition_transient_storage_opcodes
branch
from
October 14, 2024 10:46
d6dc804
to
8892bf3
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
* Adding the structure for transient storage opcodes - Finishing test validation for basic scenarios of TLOAD/TSTORE * Refactor from code to get advantage from the MutableRepository - In order to get advantage from the whole flow of tracking, rollback and commits already present in the MutableRepository. We refactored a bit the logic of transient storage, now it's simpler. * Adding more tests defined on the EIP-1153 spec * Adding tests for the different create contexts EIP1153 * Addressing comments from review * Adding more scenarios of test with dynamic execution context
fmacleal
force-pushed
the
fmacleal/addition_transient_storage_opcodes
branch
from
November 4, 2024 14:06
f244dc2
to
551df42
Compare
fmacleal
force-pushed
the
fmacleal/addition_transient_storage_opcodes
branch
from
November 5, 2024 14:05
612a66a
to
99599fb
Compare
* Added tests for dynamic execution contexts - WIP - Now we will add unit tests for underflow execution tests * Added tests for dynamic execution contexts - We had to add unit tests for underflow execution tests since isn't possible write contract for these scenarios - Now we have all the tests regarding execution context with different types of calls, missing the gas cost calculation that will be done in a later task * Addressing review comments
//given | ||
ActivationConfig.ForBlock activations = mock(ActivationConfig.ForBlock.class); | ||
when(activations.isActive(RSKIP446)).thenReturn(true); | ||
String expected = "0000000000000000000000000000000000000000000000000000000000000000"; |
Check notice
Code scanning / CodeQL
Unread local variable Note test
Variable 'String expected' is never read.
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR aims to implements the RSKIP-446 that handles the transient storage opcodes defined int he RSKIP-446, which aims to be compatible with EIP-1153 from Ethereum.
The PR still in draft mode because some tests need to be fixed and added.
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: