Skip to content

Commit

Permalink
🪲 network names should have "-testnet" suffix in examples (#741)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Goulding <[email protected]>
  • Loading branch information
ryandgoulding authored Jul 22, 2024
1 parent a0deac2 commit 7c4b031
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .changeset/young-laws-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@layerzerolabs/oft-adapter-example": patch
"@layerzerolabs/onft721-example": patch
"@layerzerolabs/oapp-example": patch
"@layerzerolabs/oft-example": patch
---

Fix network name suffix in examples
6 changes: 3 additions & 3 deletions examples/oapp/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ const config: HardhatUserConfig = {
],
},
networks: {
sepolia: {
'sepolia-testnet': {
eid: EndpointId.SEPOLIA_V2_TESTNET,
url: process.env.RPC_URL_SEPOLIA || 'https://rpc.sepolia.org/',
accounts,
},
fuji: {
'fuji-testnet': {
eid: EndpointId.AVALANCHE_V2_TESTNET,
url: process.env.RPC_URL_FUJI || 'https://rpc.ankr.com/avalanche_fuji',
accounts,
},
amoy: {
'amoy-testnet': {
eid: EndpointId.AMOY_V2_TESTNET,
url: process.env.RPC_URL_AMOY || 'https://polygon-amoy-bor-rpc.publicnode.com',
accounts,
Expand Down
6 changes: 3 additions & 3 deletions examples/oft-adapter/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ const config: HardhatUserConfig = {
],
},
networks: {
sepolia: {
'sepolia-testnet': {
eid: EndpointId.SEPOLIA_V2_TESTNET,
url: process.env.RPC_URL_SEPOLIA || 'https://rpc.sepolia.org/',
accounts,
oftAdapter: {
tokenAddress: '0x0', // Set the token address for the OFT adapter
},
},
fuji: {
'fuji-testnet': {
eid: EndpointId.AVALANCHE_V2_TESTNET,
url: process.env.RPC_URL_FUJI || 'https://rpc.ankr.com/avalanche_fuji',
accounts,
},
amoy: {
'amoy-testnet': {
eid: EndpointId.AMOY_V2_TESTNET,
url: process.env.RPC_URL_AMOY || 'https://polygon-amoy-bor-rpc.publicnode.com',
accounts,
Expand Down
6 changes: 3 additions & 3 deletions examples/oft/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ const config: HardhatUserConfig = {
],
},
networks: {
sepolia: {
'sepolia-testnet': {
eid: EndpointId.SEPOLIA_V2_TESTNET,
url: process.env.RPC_URL_SEPOLIA || 'https://rpc.sepolia.org/',
accounts,
},
fuji: {
'fuji-testnet': {
eid: EndpointId.AVALANCHE_V2_TESTNET,
url: process.env.RPC_URL_FUJI || 'https://rpc.ankr.com/avalanche_fuji',
accounts,
},
amoy: {
'amoy-testnet': {
eid: EndpointId.AMOY_V2_TESTNET,
url: process.env.RPC_URL_AMOY || 'https://polygon-amoy-bor-rpc.publicnode.com',
accounts,
Expand Down
6 changes: 3 additions & 3 deletions examples/onft721/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ const config: HardhatUserConfig = {
],
},
networks: {
sepolia: {
'sepolia-testnet': {
eid: EndpointId.SEPOLIA_V2_TESTNET,
url: process.env.RPC_URL_SEPOLIA || 'https://rpc.sepolia.org/',
accounts,
},
fuji: {
'fuji-testnet': {
eid: EndpointId.AVALANCHE_V2_TESTNET,
url: process.env.RPC_URL_FUJI || 'https://rpc.ankr.com/avalanche_fuji',
accounts,
},
amoy: {
'amoy-testnet': {
eid: EndpointId.AMOY_V2_TESTNET,
url: process.env.RPC_URL_AMOY || 'https://polygon-amoy-bor-rpc.publicnode.com',
accounts,
Expand Down

0 comments on commit 7c4b031

Please sign in to comment.