From 5839bec36c3ef74f2bc80a68abd5d57a8bdd1b4f Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Mon, 21 Jun 2021 16:17:13 -0700 Subject: [PATCH 1/2] fix: correct import path for altered contract path --- packages/contracts/src/contract-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contracts/src/contract-data.ts b/packages/contracts/src/contract-data.ts index f492c798f109..c81e80f2430c 100644 --- a/packages/contracts/src/contract-data.ts +++ b/packages/contracts/src/contract-data.ts @@ -133,7 +133,7 @@ const OVM_L2CrossDomainMessenger = require('../artifacts-ovm/contracts/optimisti const OVM_L2ToL1MessagePasser = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/OVM_L2ToL1MessagePasser.sol/OVM_L2ToL1MessagePasser.json') const OVM_L1MessageSender = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/OVM_L1MessageSender.sol/OVM_L1MessageSender.json') const OVM_DeployerWhitelist = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/OVM_DeployerWhitelist.sol/OVM_DeployerWhitelist.json') -const OVM_ECDSAContractAccount = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/accounts/OVM_ECDSAContractAccount.sol/OVM_ECDSAContractAccount.json') +const OVM_ECDSAContractAccount = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/OVM_ECDSAContractAccount.sol/OVM_ECDSAContractAccount.json') const OVM_SequencerEntrypoint = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/OVM_SequencerEntrypoint.sol/OVM_SequencerEntrypoint.json') const ERC1820Registry = require('../artifacts-ovm/contracts/optimistic-ethereum/OVM/predeploys/ERC1820Registry.sol/ERC1820Registry.json') const Lib_AddressManager = require('../artifacts-ovm/contracts/optimistic-ethereum/libraries/resolver/Lib_AddressManager.sol/Lib_AddressManager.json') From 7f6edcab50f8f419bb4a0d4b38587245b72bcf0a Mon Sep 17 00:00:00 2001 From: Mark Tyneway Date: Mon, 21 Jun 2021 16:18:12 -0700 Subject: [PATCH 2/2] chore: add changeset --- .changeset/bright-turtles-juggle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/bright-turtles-juggle.md diff --git a/.changeset/bright-turtles-juggle.md b/.changeset/bright-turtles-juggle.md new file mode 100644 index 000000000000..f796acb74ccb --- /dev/null +++ b/.changeset/bright-turtles-juggle.md @@ -0,0 +1,5 @@ +--- +'@eth-optimism/contracts': patch +--- + +Update the ECDSAContractAccount import path in the `contract-data.ts` file for connecting ethers contracts to the L2 contracts