• Matthew Slipper's avatar
    l2geth: Add support for system addresses · 962f36e4
    Matthew Slipper authored
    Adds support for system addresses.
    
    To deploy to a system address, the deployer must either be in the list of hardcoded addresses described in `SystemAddressDeployers`, or be specified via the `SYSTEM_ADDRESS_0_DEPLOYER`/`SYSTEM_ADDRESS_1_DEPLOYER` environment variables. The hardcoded system addresses deployers will always override those placed in the environment, so specifying the `SYSTEM_ADDRESS_*` env vars on mainnet, Kovan, or Goerli is a no-op. The env vars are available primarily for testing purposes.
    
    The contract deployment **must** be the first transaction from the deployment address - i.e., it must have nonce zero.
    
    In order to make the tests work, I had to change the integration tests chain ID to no longer conflict with Goerli. The new integration tests chain ID is `987`.
    
    Co-Authored-By: @inphi
    962f36e4
Name
Last commit
Last update
..
README.md Loading commit data...
chatty-oranges-call.md Loading commit data...
config.json Loading commit data...
early-pans-provide.md Loading commit data...
few-pears-think.md Loading commit data...
few-steaks-push.md Loading commit data...
flat-penguins-wave.md Loading commit data...
heavy-bugs-mate.md Loading commit data...
poor-walls-do.md Loading commit data...
rare-onions-bathe.md Loading commit data...
soft-dogs-hide.md Loading commit data...
ten-rats-build.md Loading commit data...
thin-trees-matter.md Loading commit data...