Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
address: this.state.OVM_StateCommitmentChain.address,
})
this.logger.info('Connecting to OVM_L1CrossDomainMessenger...')
this.state.OVM_L1CrossDomainMessenger = await loadContractFromManager({
name: 'OVM_L1CrossDomainMessenger',
proxy: 'Proxy__OVM_L1CrossDomainMessenger',
Lib_AddressManager: this.state.Lib_AddressManager,
provider: this.options.l1RpcProvider,
})
this.logger.info('Connected to OVM_L1CrossDomainMessenger', {
address: this.state.OVM_L1CrossDomainMessenger.address,
})
this.logger.info('Connecting to OVM_L2CrossDomainMessenger...')
this.state.OVM_L2CrossDomainMessenger = await loadContractFromManager({
name: 'OVM_L2CrossDomainMessenger',
Lib_AddressManager: this.state.Lib_AddressManager,
provider: this.options.l2RpcProvider,
})
this.logger.info('Connected to OVM_L2CrossDomainMessenger', {
address: this.state.OVM_L2CrossDomainMessenger.address,
})
this.logger.info('Connecting to OVM_L2ToL1MessagePasser...')
this.state.OVM_L2ToL1MessagePasser = loadContract(
'OVM_L2ToL1MessagePasser',
'0x4200000000000000000000000000000000000000',
this.options.l2RpcProvider
)
this.logger.info('Connected to OVM_L2ToL1MessagePasser', {
address: this.state.OVM_L2ToL1MessagePasser.address,