You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first line is triggered at the onset of the CREATE(2). The other stuff is only visible at the end of the deployment.
Test scenarios
We should write the following tests:
# Recursive CREATE2
Contract A does a CREATE2
contract B starts deploying
running the initialization code of B leads to Calling A
A (attempts to) re-execute the same CREATE2
and
# Sequential CREATE2
Contract A does a CREATE2
contract B starts deploying and deploys successfully
contract A resumes execution
contract A attempts the same deployment again (and fails with failure condition F)
Purpose
We could have two contracts recursiveCreate2TriggeringFailureCondition and sequentialCreate2TriggeringFailureCondition that become part of the framework.
Part of this is tested in arithmetization/src/test/java/net/consensys/linea/zktracer/instructionprocessing/createTests/failure/.
The text was updated successfully, but these errors were encountered:
Failure condition
F
The first line is triggered at the onset of the CREATE(2). The other stuff is only visible at the end of the deployment.
Test scenarios
We should write the following tests:
# Recursive CREATE2 Contract A does a CREATE2 contract B starts deploying running the initialization code of B leads to Calling A A (attempts to) re-execute the same CREATE2
and
# Sequential CREATE2 Contract A does a CREATE2 contract B starts deploying and deploys successfully contract A resumes execution contract A attempts the same deployment again (and fails with failure condition F)
Purpose
We could have two contracts
recursiveCreate2TriggeringFailureCondition
andsequentialCreate2TriggeringFailureCondition
that become part of the framework.Part of this is tested in
arithmetization/src/test/java/net/consensys/linea/zktracer/instructionprocessing/createTests/failure/
.The text was updated successfully, but these errors were encountered: