Skip to content

Commit

Permalink
♻️ Deprecate hecoTestnet and Update hecoMain Block Explorer Link (#…
Browse files Browse the repository at this point in the history
…211)

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio authored Nov 23, 2023
1 parent 2d2de17 commit 376bf4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ The current available networks are:
- `arbitrumSepolia`
- `mumbai`
- `polygonZkEVMTestnet`
- `hecoTestnet`
- `fantomTestnet`
- `fuji`
- `sokol`
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ task(
chainId: chainId.toString(),
contract: hre.config.xdeploy.contract,
txHash: createReceipt[i].hash,
txHashLink: `${explorers[idx]}tx/${createReceipt[i].hash}`,
txHashLink:
hre.config.xdeploy.networks[i] == "hecoMain"
? `${explorers[idx]}transaction/${createReceipt[i].hash}`
: `${explorers[idx]}tx/${createReceipt[i].hash}`,
address: computedContractAddress,
addressLink: `${explorers[idx]}address/${computedContractAddress}`,
receipt: createReceipt[i].toJSON(),
Expand Down
4 changes: 1 addition & 3 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const networks = [
"arbitrumSepolia",
"mumbai",
"polygonZkEVMTestnet",
"hecoTestnet",
"fantomTestnet",
"fuji",
"sokol",
Expand Down Expand Up @@ -78,7 +77,6 @@ export const explorers = [
"https://sepolia.arbiscan.io/",
"https://mumbai.polygonscan.com/",
"https://testnet-zkevm.polygonscan.com/",
"https://testnet.hecoinfo.com/",
"https://testnet.ftmscan.com/",
"https://testnet.snowtrace.io/",
"https://blockscout.com/poa/sokol/",
Expand Down Expand Up @@ -108,7 +106,7 @@ export const explorers = [
"https://nova.arbiscan.io/",
"https://polygonscan.com/",
"https://zkevm.polygonscan.com/",
"https://www.hecoinfo.com/",
"https://hecoscan.io/#/",
"https://ftmscan.com/",
"https://snowtrace.io/",
"https://gnosisscan.io/",
Expand Down

0 comments on commit 376bf4d

Please sign in to comment.