diff --git a/examples/oapp/deploy/MyOApp.ts b/examples/oapp/deploy/MyOApp.ts index f31a93ddd..9c6fae310 100644 --- a/examples/oapp/deploy/MyOApp.ts +++ b/examples/oapp/deploy/MyOApp.ts @@ -48,4 +48,5 @@ const deploy: DeployFunction = async (hre) => { } deploy.tags = [contractName] + export default deploy diff --git a/examples/oapp/hardhat.config.ts b/examples/oapp/hardhat.config.ts index 53a73e657..2c2094524 100644 --- a/examples/oapp/hardhat.config.ts +++ b/examples/oapp/hardhat.config.ts @@ -50,7 +50,7 @@ const config: HardhatUserConfig = { }, networks: { sepolia: { - eid: EndpointId.ETHEREUM_V2_TESTNET, + eid: EndpointId.SEPOLIA_V2_TESTNET, url: 'https://rpc.sepolia.org/', accounts, }, diff --git a/examples/oapp/layerzero.config.ts b/examples/oapp/layerzero.config.ts index 7f45ee1af..4d9977037 100644 --- a/examples/oapp/layerzero.config.ts +++ b/examples/oapp/layerzero.config.ts @@ -1,7 +1,7 @@ import { EndpointId } from '@layerzerolabs/lz-definitions' const sepoliaContract = { - eid: EndpointId.ETHEREUM_V2_TESTNET, + eid: EndpointId.SEPOLIA_V2_TESTNET, contractName: 'MyOApp', } diff --git a/examples/oft/deploy/MyOFT.ts b/examples/oft/deploy/MyOFT.ts index 22ac3062f..bcbdeb19b 100644 --- a/examples/oft/deploy/MyOFT.ts +++ b/examples/oft/deploy/MyOFT.ts @@ -48,5 +48,6 @@ const deploy: DeployFunction = async (hre) => { console.log(`Deployed contract: ${contractName}, network: ${hre.network.name}, address: ${address}`) } -module.exports.tags = [contractName] +deploy.tags = [contractName] + export default deploy diff --git a/examples/oft/hardhat.config.ts b/examples/oft/hardhat.config.ts index 53a73e657..2c2094524 100644 --- a/examples/oft/hardhat.config.ts +++ b/examples/oft/hardhat.config.ts @@ -50,7 +50,7 @@ const config: HardhatUserConfig = { }, networks: { sepolia: { - eid: EndpointId.ETHEREUM_V2_TESTNET, + eid: EndpointId.SEPOLIA_V2_TESTNET, url: 'https://rpc.sepolia.org/', accounts, }, diff --git a/examples/oft/layerzero.config.ts b/examples/oft/layerzero.config.ts index b94ab8a54..e41adf23b 100644 --- a/examples/oft/layerzero.config.ts +++ b/examples/oft/layerzero.config.ts @@ -2,7 +2,7 @@ import { EndpointId } from '@layerzerolabs/lz-definitions' const sepoliaContract = { - eid: EndpointId.ETHEREUM_V2_TESTNET, + eid: EndpointId.SEPOLIA_V2_TESTNET, contractName: 'MyOFT', }