From 1c9eb90a3b0b9ad6ef299285dce6cb63de645587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Jakub=20Nani=C5=A1ta?= Date: Tue, 6 Feb 2024 19:01:00 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B2=20Fix=20typos=20in=20example=20con?= =?UTF-8?q?figurations=20(#357)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/oapp/deploy/MyOApp.ts | 1 + examples/oapp/hardhat.config.ts | 2 +- examples/oapp/layerzero.config.ts | 2 +- examples/oft/deploy/MyOFT.ts | 3 ++- examples/oft/hardhat.config.ts | 2 +- examples/oft/layerzero.config.ts | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) 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', }