0x4200...0000
- Predeploys shared with other OP Stack chains0x4300...0000
- Predeploys unique to BlastYield
contract at 0x0000...0100
, Blast’s execution client (Blast Geth) uses an internal Go implementation for execution rather than any bytecode deployed at that address.
Yield
precompile.
Yield
predeploy to 0x0000000000000000000000000000000000000100
within the local environment. This YieldMock
contract doesn’t need to fully implement the Yield
precompile; it simply needs to satisfy the IYield
interface so that calls to it do not revert.
The following is an example of a minimal YieldMock contract that satisfies the IYield
interface.
vm.etch
cheatcode.
forge script
, because Foundry attempts local and forked simulations before broadcasting any transactions.
The --skip-simulation
flag can be used to opt out of forked simulations, but local simulation cannot be skipped.
vm.etch
with forge script
, ensure that you are not calling vm.etch
in any code that will be broadcasted.hardhat_setCode
RPC method. Just like vm.etch
, this method allows us to set the bytecode at an arbitrary address.