From b8b0aa5150041a98aaa27743ece872b1bf75e214 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 13 Sep 2022 19:01:21 +0200 Subject: [PATCH] add sepolia --- apps/remix-ide/src/blockchain/execution-context.js | 2 ++ apps/remix-ide/src/blockchain/helper.ts | 3 ++- libs/remix-debug/src/init.ts | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/blockchain/execution-context.js b/apps/remix-ide/src/blockchain/execution-context.js index bf53caab1c..e210793c1c 100644 --- a/apps/remix-ide/src/blockchain/execution-context.js +++ b/apps/remix-ide/src/blockchain/execution-context.js @@ -93,6 +93,7 @@ export class ExecutionContext { else if (id === 4) name = 'Rinkeby' else if (id === 5) name = 'Goerli' else if (id === 42) name = 'Kovan' + else if (id === 11155111) name = 'Sepolia' else name = 'Custom' if (id === '1') { @@ -250,6 +251,7 @@ export class ExecutionContext { Main: 'https://www.etherscan.io/tx/', Rinkeby: 'https://rinkeby.etherscan.io/tx/', Ropsten: 'https://ropsten.etherscan.io/tx/', + Sepolia: 'https://sepolia.etherscan.io/tx/', Kovan: 'https://kovan.etherscan.io/tx/', Goerli: 'https://goerli.etherscan.io/tx/' } diff --git a/apps/remix-ide/src/blockchain/helper.ts b/apps/remix-ide/src/blockchain/helper.ts index 652a088078..5fde384369 100644 --- a/apps/remix-ide/src/blockchain/helper.ts +++ b/apps/remix-ide/src/blockchain/helper.ts @@ -3,7 +3,8 @@ const transactionDetailsLinks = { Rinkeby: 'https://rinkeby.etherscan.io/tx/', Ropsten: 'https://ropsten.etherscan.io/tx/', Kovan: 'https://kovan.etherscan.io/tx/', - Goerli: 'https://goerli.etherscan.io/tx/' + Goerli: 'https://goerli.etherscan.io/tx/', + Sepolia: 'https://sepolia.etherscan.io/tx/' } export function etherScanLink (network: string, hash: string): string { diff --git a/libs/remix-debug/src/init.ts b/libs/remix-debug/src/init.ts index 83ec66d0a9..700c9f5822 100644 --- a/libs/remix-debug/src/init.ts +++ b/libs/remix-debug/src/init.ts @@ -22,7 +22,8 @@ export function web3DebugNode (network) { Main: 'https://rpc.archivenode.io/e50zmkroshle2e2e50zm0044i7ao04ym', Rinkeby: 'https://remix-rinkeby.ethdevops.io', Ropsten: 'https://remix-ropsten.ethdevops.io', - Goerli: 'https://remix-goerli.ethdevops.io' + Goerli: 'https://remix-goerli.ethdevops.io', + Sepolia: 'https://remix-sepolia.ethdevops.io' } if (web3DebugNodes[network]) { return loadWeb3(web3DebugNodes[network])