Skip to content

Commit

Permalink
🪲 Fix typos in example configurations (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Feb 7, 2024
1 parent 9996f00 commit 1c9eb90
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/oapp/deploy/MyOApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ const deploy: DeployFunction = async (hre) => {
}

deploy.tags = [contractName]

export default deploy
2 changes: 1 addition & 1 deletion examples/oapp/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/oapp/layerzero.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EndpointId } from '@layerzerolabs/lz-definitions'

const sepoliaContract = {
eid: EndpointId.ETHEREUM_V2_TESTNET,
eid: EndpointId.SEPOLIA_V2_TESTNET,
contractName: 'MyOApp',
}

Expand Down
3 changes: 2 additions & 1 deletion examples/oft/deploy/MyOFT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/oft/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/oft/layerzero.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { EndpointId } from '@layerzerolabs/lz-definitions'

const sepoliaContract = {
eid: EndpointId.ETHEREUM_V2_TESTNET,
eid: EndpointId.SEPOLIA_V2_TESTNET,
contractName: 'MyOFT',
}

Expand Down

0 comments on commit 1c9eb90

Please sign in to comment.