Skip to content

Commit

Permalink
Fix definition of predeploy namespace (#339)
Browse files Browse the repository at this point in the history
* Update predeploys.md

The deleted sentence contradicts the rest of the document, which states that the proxyadmin is itself a proxied contract.

* WETH is not proxied

* More precise definition of the predeploy address namespace

* use only 3 blanked nibbles
  • Loading branch information
geoknee authored Oct 14, 2024
1 parent 25adc1a commit 80338ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/protocol/predeploys.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Predeploys are used instead of precompiles to make it easier for multiclient
implementations as well as allowing for more integration with hardhat/foundry
network forking.

Predeploy addresses exist in 1 byte namespace `0x42000000000000000000000000000000000000xx`.
Proxies are set at each possible predeploy address except for the
`GovernanceToken` and the `ProxyAdmin`.
Predeploy addresses exist in a prefixed namespace `0x4200000000000000000000000000000000000xxx`.
Proxies are set at the first 2048 addresses in the namespace, except for the addresses reserved for the
`GovernanceToken` and `WETH` predeploys.

The `LegacyERC20ETH` predeploy lives at a special address `0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000`
and there is no proxy deployed at that account.
Expand Down

0 comments on commit 80338ad

Please sign in to comment.