-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e84747c
commit 92580b4
Showing
33 changed files
with
1,925 additions
and
492 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SELFDESTRUCT testing | ||
|
||
- STATICX | ||
- i.e. done in an execution context spawned through STATICCALL | ||
- OOGX | ||
- zero / nonzero balance | ||
- warmth / cold recipient | ||
- self recipient | ||
- new account cost for recipient | ||
- REVERT'ed later or not | ||
- inside of a CREATE / deployment transaction | ||
- leads to early deployment of empty code | ||
- said account will be wiped off the world later | ||
- can still have storage in the mean time | ||
|
||
- carried out several times in the same account, same transaction | ||
- reverted yes or no at the end | ||
- done indirectly (i.e. through DELEGATECALL / CALLCODE) | ||
- interaction with storage | ||
|
||
More involved: | ||
- deploying from an account MARKED_FOR_SELFDESTRUCT | ||
- deploying with CREATE from an account MARKED_FOR_SELFDESTRUCT | ||
|
||
This would be to reproduce CREATE address collisions | ||
|
||
|
||
# PRC calls | ||
|
||
- all 9 precompiles | ||
- testing all possible success / failure paths (some extensive work was already done for EC stuff) | ||
- in particular for gas | ||
- testing variations on CALLDATA | ||
- testing the output RETURNDATA | ||
- interaction with DELEGATECALL / CALLCODE ? |
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
607 changes: 307 additions & 300 deletions
607
arithmetization/src/main/java/net/consensys/linea/zktracer/module/hub/Trace.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.