Skip to content

Commit fa71121

Browse files
committed
Update L2Genesis to Include NameRegistry Implementation
- Added `NAME_REGISTRY` to the implementation code in `L2Genesis`. - Adjusted comments for clarity regarding template deployments and proxy usage. - Ensured consistency in the handling of contract implementations within the genesis setup.
1 parent 154f4f3 commit fa71121

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎contracts/script/L2Genesis.s.sol‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ contract L2Genesis is Script {
224224
_setImplementationCodeNamed(Predeploys.ERC20_FIXED_DENOMINATION_MANAGER, "ERC20FixedDenominationManager");
225225
_setImplementationCodeNamed(Predeploys.ERC721_ETHSCRIPTIONS_COLLECTION_MANAGER, "ERC721EthscriptionsCollectionManager");
226226
_setImplementationCodeNamed(Predeploys.ETHSCRIPTIONS_PROVER, "EthscriptionsProver");
227-
// Templates and direct deploys live directly at their addresses (no proxy wrapping)
227+
_setImplementationCodeNamed(Predeploys.NAME_REGISTRY, "NameRegistry");
228+
// Templates live directly at their addresses (no proxy wrapping)
228229
_setCodeAt(Predeploys.ERC20_FIXED_DENOMINATION_IMPLEMENTATION, "ERC20FixedDenomination");
229230
_setCodeAt(Predeploys.ERC721_ETHSCRIPTIONS_COLLECTION_IMPLEMENTATION, "ERC721EthscriptionsCollection");
230-
_setCodeAt(Predeploys.NAME_REGISTRY, "NameRegistry");
231231

232232
// Create genesis Ethscriptions (writes via proxy to proxy storage)
233233
createGenesisEthscriptions();

0 commit comments

Comments
 (0)