Skip to content

Commit

Permalink
Merge pull request #188 from Consensys/chore/new-sepolia-deployment
Browse files Browse the repository at this point in the history
chore: deployed new linea ens contracts to sepolia
  • Loading branch information
Julink-eth authored Jul 9, 2024
2 parents 68b1bc2 + 92357ab commit 404b6e8
Show file tree
Hide file tree
Showing 51 changed files with 1,126 additions and 667 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ contract TestL1 is EVMFetchTarget {

### linea-ens-resolver

The linea-ens-resolver contract intented to be deployed on L1 that is built on top of [linea-state-verifier](./packages/packages/linea-state-verifier) and verifies Linea ENS data (domain names, metadata etc).
The linea-ens-resolver contract intented to be deployed on L1 that is built on top of [linea-state-verifier](./packages/linea-state-verifier) and verifies Linea ENS data (domain names, metadata etc).

More documentation available in [linea-ens-resolver/README.md](./packages/linea-ens-resolver/README.md)

Expand Down Expand Up @@ -107,7 +107,8 @@ The linea state verifier contracts are responsible for checking values using spa

### poh-signer-api

A NestJS API responsible for signing a message aknowledging an address has passed the POH process, the signature created is then checked by the PohVerifier contract in the linea-ens-contracts.
A NestJS API responsible for signing a message aknowledging an address has passed the POH process, the signature created is then checked by the PohVerifier contract in the linea-ens-contracts.
More information about POH in the package's readme.

## Deployed contracts

Expand Down
2 changes: 1 addition & 1 deletion packages/linea-ccip-gateway/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# linea-ccip-gateway

Adapted from EVM gateway https://github.com/ensdomains/evmgateway for fetching data on Linea along with Sparse Merkle Proofs and return it to the L1 callback function.
Adapted from [EVM gateway](https://github.com/ensdomains/evmgateway) for fetching data on Linea along with Sparse Merkle Proofs and return it to the L1 callback function.

## Start dev env

Expand Down
26 changes: 13 additions & 13 deletions packages/linea-ens-app/src/constants/lineaSepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export const lineaSepolia = defineChain({
},
contracts: {
ensRegistry: {
address: '0x778412cf5F9f1492EACC5794D8b75141FF4655d3',
address: '0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7',
},
ensUniversalResolver: {
address: '0xe9F3277f4839CD08652B537F1bbbB40F0AaF40D3',
blockCreated: 1_196_299,
address: '0x72560a31B3DAEE82B984a7F51c6b3b1bb7CC9F50',
blockCreated: 2_395_255,
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
Expand All @@ -51,33 +51,33 @@ export const lineaSepolia = defineChain({

export const lineaSepoliaEnsAddresses = {
ensBaseRegistrarImplementation: {
address: '0x0Dc86D89d9ac503a97162aF33B7B31D574e4c4af' as Address,
address: '0x83475a84C0ea834F06c8e636A62631e7d2e07A44' as Address,
},
ensBulkRenewal: {
address: '0xA9245A256560190eA4741317EE1163A58E85e0a2' as Address,
address: '0x8056dDA2f1fa06b7408f307E3a9f8c36416Bddf9' as Address,
},
ensDnsRegistrar: {
address: '0xC61AdFd4f0457B81Ae5E4B7363d2Be7c6Ecd5Cf9' as Address,
address: '0x1d1CCf98581b690AC45852D5264382C4f2285094' as Address,
},
ensDnssecImpl: {
address: '0x794f1ca4b7107F6d6dCd863E53FC406306C7573D' as Address,
address: '0xe34B0fD618CFac339fFE3f6A1E53D7DB95Cd9daB' as Address,
},
ensEthRegistrarController: {
address: '0x45FC85e99c62359d2A778d759FA36dF3D53a31D4' as Address,
address: '0x0f81E3B3A32DFE1b8A08d3C0061d852337a09338' as Address,
},
ensNameWrapper: {
address: '0xE0Ceb5D0C15E6d4369696A2cb1e2133904299270' as Address,
address: '0xF127De9E039a789806fEd4C6b1C0f3aFfeA9425e' as Address,
},
ensPublicResolver: {
address: '0x5bDA6a6B90452e8a399B412E70915B61Dd50c82B' as Address,
address: '0xA2008916Ed2d7ED0Ecd747a8a5309267e42cf1f1' as Address,
},
ensRegistry: {
address: '0x778412cf5F9f1492EACC5794D8b75141FF4655d3' as Address,
address: '0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7' as Address,
},
ensReverseRegistrar: {
address: '0x2372154B01F1071b2f2BB02e93Ab97404f1F7a76' as Address,
address: '0x4aAA964D8EB65508ca3DA3b0A3C060c16059E613' as Address,
},
ensUniversalResolver: {
address: '0xe9F3277f4839CD08652B537F1bbbB40F0AaF40D3' as Address,
address: '0x72560a31B3DAEE82B984a7F51c6b3b1bb7CC9F50' as Address,
},
}
2 changes: 1 addition & 1 deletion packages/linea-ens-contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Implementation of the ENS Registry, the central contract used to look up resolve

### ENSRegistryWithFallback

The new implementation of the ENS Registry after [the 2020 ENS Registry Migration](https://docs.ens.domains/ens-migration-february-2020/technical-description#new-ens-deployment).
The new implementation of the ENS Registry after the 2020 ENS Registry Migration.

### FIFSRegistrar

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ens": 1716821386,
"root": 1716821392,
"setupRoot": 1716821506,
"legacy-resolver": 1716821602,
"legacy-controller": 1716821615
"ens": 1720511397,
"root": 1720511402,
"setupRoot": 1720511523,
"legacy-resolver": 1720511637,
"legacy-controller": 1720511653
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xc7e374eA75892ABE4771b3C8557F36D08e43c79A",
"address": "0x1A7cfAc57f76cE9aD20aE48fF7F8777dDD0a2FC1",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -31,25 +31,25 @@
"type": "function"
}
],
"transactionHash": "0x60e9cee13ca8a760c8dc2214ff1d0980337bf9163dd7009473dda1e9fbf96a37",
"transactionHash": "0xfc4da98f17f4c18610de1494e6eba349e91c9c16488780642f9a35e5ab68bd1f",
"receipt": {
"to": null,
"from": "0x11F340638Ddc6D2D2d065f19B190F6E9D949B767",
"contractAddress": "0xc7e374eA75892ABE4771b3C8557F36D08e43c79A",
"transactionIndex": 5,
"contractAddress": "0x1A7cfAc57f76cE9aD20aE48fF7F8777dDD0a2FC1",
"transactionIndex": 0,
"gasUsed": "134191",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xa5007076a28f6898656023f6a39fc47a64de06a4c4a6440d6cb8776f6dd7f7e8",
"transactionHash": "0x60e9cee13ca8a760c8dc2214ff1d0980337bf9163dd7009473dda1e9fbf96a37",
"blockHash": "0x72899b5926cc0833c8b00cfaa8a21c2bef2a8458c366a11ac804a46135a2dbe6",
"transactionHash": "0xfc4da98f17f4c18610de1494e6eba349e91c9c16488780642f9a35e5ab68bd1f",
"logs": [],
"blockNumber": 1196211,
"cumulativeGasUsed": "324196",
"blockNumber": 2395111,
"cumulativeGasUsed": "134191",
"status": 1,
"byzantium": true
},
"args": [],
"numDeployments": 1,
"solcInputHash": "9e312ca37aa8e6213da83c8731f0403e",
"solcInputHash": "ecf9ee221e9a3f6a0d5de2e6d402ddd7",
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implements a dummy DNSSEC (signing) algorithm that approves all signatures, for testing.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/dnssec-oracle/algorithms/DummyAlgorithm.sol\":\"DummyAlgorithm\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1200},\"remappings\":[]},\"sources\":{\"contracts/dnssec-oracle/algorithms/Algorithm.sol\":{\"content\":\"pragma solidity ^0.8.4;\\n\\n/**\\n * @dev An interface for contracts implementing a DNSSEC (signing) algorithm.\\n */\\ninterface Algorithm {\\n /**\\n * @dev Verifies a signature.\\n * @param key The public key to verify with.\\n * @param data The signed data to verify.\\n * @param signature The signature to verify.\\n * @return True iff the signature is valid.\\n */\\n function verify(\\n bytes calldata key,\\n bytes calldata data,\\n bytes calldata signature\\n ) external view virtual returns (bool);\\n}\\n\",\"keccak256\":\"0xaf6825f9852c69f8e36540821d067b4550dd2263497af9d645309b6a0c457ba6\"},\"contracts/dnssec-oracle/algorithms/DummyAlgorithm.sol\":{\"content\":\"pragma solidity ^0.8.4;\\n\\nimport \\\"./Algorithm.sol\\\";\\n\\n/**\\n * @dev Implements a dummy DNSSEC (signing) algorithm that approves all\\n * signatures, for testing.\\n */\\ncontract DummyAlgorithm is Algorithm {\\n function verify(\\n bytes calldata,\\n bytes calldata,\\n bytes calldata\\n ) external view override returns (bool) {\\n return true;\\n }\\n}\\n\",\"keccak256\":\"0x0df474d4178b1659d2869aefe90ee6680b966d9432c5b28ef388134ea6d67b58\"}},\"version\":1}",
"bytecode": "0x608060405234801561001057600080fd5b50610177806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063de8f50a114610030575b600080fd5b61004a61003e3660046100a7565b60019695505050505050565b604051901515815260200160405180910390f35b60008083601f84011261007057600080fd5b50813567ffffffffffffffff81111561008857600080fd5b6020830191508360208285010111156100a057600080fd5b9250929050565b600080600080600080606087890312156100c057600080fd5b863567ffffffffffffffff808211156100d857600080fd5b6100e48a838b0161005e565b909850965060208901359150808211156100fd57600080fd5b6101098a838b0161005e565b9096509450604089013591508082111561012257600080fd5b5061012f89828a0161005e565b979a969950949750929593949250505056fea26469706673582212201d6169f54d5644e6220fe6e528677b0fc01f94f6ab546738c10ff226848cce1b64736f6c63430008110033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063de8f50a114610030575b600080fd5b61004a61003e3660046100a7565b60019695505050505050565b604051901515815260200160405180910390f35b60008083601f84011261007057600080fd5b50813567ffffffffffffffff81111561008857600080fd5b6020830191508360208285010111156100a057600080fd5b9250929050565b600080600080600080606087890312156100c057600080fd5b863567ffffffffffffffff808211156100d857600080fd5b6100e48a838b0161005e565b909850965060208901359150808211156100fd57600080fd5b6101098a838b0161005e565b9096509450604089013591508082111561012257600080fd5b5061012f89828a0161005e565b979a969950949750929593949250505056fea26469706673582212201d6169f54d5644e6220fe6e528677b0fc01f94f6ab546738c10ff226848cce1b64736f6c63430008110033",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x66DD1c75dc895A03bA43E2570b71611C21c1B93D",
"address": "0x0ccfd642203af126eE6B771b1aF2C4C16eE22314",
"abi": [
{
"inputs": [
Expand All @@ -26,25 +26,25 @@
"type": "function"
}
],
"transactionHash": "0x980015f5f2f9dac490997d218201ee083111350afbb239a9117bd93ce5facddc",
"transactionHash": "0x00eec0298c9043caddba6ebdb25278c717abef357df76aba6e66ec1374e83e95",
"receipt": {
"to": null,
"from": "0x11F340638Ddc6D2D2d065f19B190F6E9D949B767",
"contractAddress": "0x66DD1c75dc895A03bA43E2570b71611C21c1B93D",
"contractAddress": "0x0ccfd642203af126eE6B771b1aF2C4C16eE22314",
"transactionIndex": 0,
"gasUsed": "123853",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x5c7a4c540b9af65be03b1b0338767ee624b26cf8e6835100f1d0dd5dd4be61e9",
"transactionHash": "0x980015f5f2f9dac490997d218201ee083111350afbb239a9117bd93ce5facddc",
"blockHash": "0x7972ec0261341657f5d7b647da3a07e75b32d651becf01a8d852ff20305090f3",
"transactionHash": "0x00eec0298c9043caddba6ebdb25278c717abef357df76aba6e66ec1374e83e95",
"logs": [],
"blockNumber": 1196217,
"blockNumber": 2395120,
"cumulativeGasUsed": "123853",
"status": 1,
"byzantium": true
},
"args": [],
"numDeployments": 1,
"solcInputHash": "9e312ca37aa8e6213da83c8731f0403e",
"solcInputHash": "ecf9ee221e9a3f6a0d5de2e6d402ddd7",
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implements a dummy DNSSEC digest that approves all hashes, for testing.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/dnssec-oracle/digests/DummyDigest.sol\":\"DummyDigest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1200},\"remappings\":[]},\"sources\":{\"contracts/dnssec-oracle/digests/Digest.sol\":{\"content\":\"pragma solidity ^0.8.4;\\n\\n/**\\n * @dev An interface for contracts implementing a DNSSEC digest.\\n */\\ninterface Digest {\\n /**\\n * @dev Verifies a cryptographic hash.\\n * @param data The data to hash.\\n * @param hash The hash to compare to.\\n * @return True iff the hashed data matches the provided hash value.\\n */\\n function verify(\\n bytes calldata data,\\n bytes calldata hash\\n ) external pure virtual returns (bool);\\n}\\n\",\"keccak256\":\"0x8ea926b2db0578c4ad7fce4582fc0f6f0f9efee8dca2085dbdb9984f18941e28\"},\"contracts/dnssec-oracle/digests/DummyDigest.sol\":{\"content\":\"pragma solidity ^0.8.4;\\n\\nimport \\\"./Digest.sol\\\";\\n\\n/**\\n * @dev Implements a dummy DNSSEC digest that approves all hashes, for testing.\\n */\\ncontract DummyDigest is Digest {\\n function verify(\\n bytes calldata,\\n bytes calldata\\n ) external pure override returns (bool) {\\n return true;\\n }\\n}\\n\",\"keccak256\":\"0x17c0c424aa79b138b918234d4d1c9b95bebad1e26e37c651628a61ef389d75e6\"}},\"version\":1}",
"bytecode": "0x608060405234801561001057600080fd5b50610147806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f7e83aee14610030575b600080fd5b61004861003e3660046100a5565b6001949350505050565b604051901515815260200160405180910390f35b60008083601f84011261006e57600080fd5b50813567ffffffffffffffff81111561008657600080fd5b60208301915083602082850101111561009e57600080fd5b9250929050565b600080600080604085870312156100bb57600080fd5b843567ffffffffffffffff808211156100d357600080fd5b6100df8883890161005c565b909650945060208701359150808211156100f857600080fd5b506101058782880161005c565b9598949750955050505056fea2646970667358221220a959cf756a6d6f65fdf946b8ea188d413eae01a3fa027905c50b03b966d25ef764736f6c63430008110033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f7e83aee14610030575b600080fd5b61004861003e3660046100a5565b6001949350505050565b604051901515815260200160405180910390f35b60008083601f84011261006e57600080fd5b50813567ffffffffffffffff81111561008657600080fd5b60208301915083602082850101111561009e57600080fd5b9250929050565b600080600080604085870312156100bb57600080fd5b843567ffffffffffffffff808211156100d357600080fd5b6100df8883890161005c565b909650945060208701359150808211156100f857600080fd5b506101058782880161005c565b9598949750955050505056fea2646970667358221220a959cf756a6d6f65fdf946b8ea188d413eae01a3fa027905c50b03b966d25ef764736f6c63430008110033",
Expand Down
Loading

0 comments on commit 404b6e8

Please sign in to comment.