Commit 8f1e355e authored by David Mihal's avatar David Mihal Committed by GitHub

Add ERC1820 Registry as a precompile (#212)

parent 40beea48
......@@ -235,5 +235,8 @@ export const makeContractDeployConfig = async (
factory: getContractFactory('OVM_ChainStorageContainer'),
params: [AddressManager.address, 'OVM_StateCommitmentChain'],
},
ERC1820Registry: {
factory: getContractFactory('ERC1820Registry'),
},
}
}
......@@ -138,6 +138,7 @@ export const makeStateDump = async (cfg: RollupDeployConfig): Promise<any> => {
},
l1CrossDomainMessengerConfig: {},
dependencies: [
'ERC1820Registry',
'Lib_AddressManager',
'OVM_DeployerWhitelist',
'OVM_L1MessageSender',
......@@ -169,6 +170,7 @@ export const makeStateDump = async (cfg: RollupDeployConfig): Promise<any> => {
OVM_ETH: '0x4200000000000000000000000000000000000006',
OVM_L2CrossDomainMessenger: '0x4200000000000000000000000000000000000007',
Lib_AddressManager: '0x4200000000000000000000000000000000000008',
ERC1820Registry: '0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24',
}
const ovmCompiled = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment