We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Failure Condition F CREATE's are those CREATE's that
Recall that this condition is triggered when the deployment address has one or more of the following properties
Note. Nonzero balance isn't an issue when scanning for Failure Condition F..
CREATE2
Raising Failure Condition F via CREATE2 is trivial. When testing this we should look at
CREATE
This is classical by now:
I guess the simplest way to achieve this would be to have B have the following code
// contract B deployed code PUSH1 0 PUSH1 0 PUSH1 0 PUSH1 0 PUSH1 0 CALLDATALOAD // expecting to find an address in call data GAS DELEGATECALL
This byte code measures 13 bytes. The associated init code would be
PUSH13 ... PUSH1 0 MSTORE PUSH1 13 PUSH1 0 RETURN
which is 22 bytes. It should be deployed in a CREATE2 with 1 Wei of value.
We then need two contracts:
E.g.
// basic CREATE-or contract (deploys 0x) PUSH1 0 PUSH1 0 PUSH1 0 CREATE
or
// alternative basic CREATE-or contract (deploys 0x00 .. 00) PUSH1 32 PUSH1 0 PUSH1 0 CREATE
// basic SELFDESTRUCT-or ORIGIN SELFDESTRUCT
The simplest scenario would be
The text was updated successfully, but these errors were encountered:
lorenzogentile404
OlivierBBB
Successfully merging a pull request may close this issue.
Definitions
Failure Condition F CREATE's are those CREATE's that
Recall that this condition is triggered when the deployment address has one or more of the following properties
Note. Nonzero balance isn't an issue when scanning for Failure Condition F..
Sequential Failure Condition F via
CREATE2
Raising Failure Condition F via CREATE2 is trivial. When testing this we should look at
Nested Failure Condition F via
CREATE2
Failure Condition F via
CREATE
This is classical by now:
I guess the simplest way to achieve this would be to have B have the following code
This byte code measures 13 bytes. The associated init code would be
which is 22 bytes. It should be deployed in a CREATE2 with 1 Wei of value.
We then need two contracts:
E.g.
or
The simplest scenario would be
The text was updated successfully, but these errors were encountered: