From 7066029031408b2a7a522184e862ec5bb56a832d Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Tue, 26 Dec 2023 23:22:39 +0530 Subject: [PATCH] update base-goerli userOP txn link --- packages/nextjs/utils/scaffold-eth/networks.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nextjs/utils/scaffold-eth/networks.ts b/packages/nextjs/utils/scaffold-eth/networks.ts index c5215fe..5ca8e1e 100644 --- a/packages/nextjs/utils/scaffold-eth/networks.ts +++ b/packages/nextjs/utils/scaffold-eth/networks.ts @@ -74,6 +74,8 @@ export function getUserOpExplorerTxLink(chainId: number, txnHash: string) { } const targetChain = targetChainArr[0] as keyof typeof chains; + if (chains[targetChain].id === chains.baseGoerli.id) + return `https://app.jiffyscan.xyz/userOpHash/${txnHash}?network=base-testnet`; return `https://app.jiffyscan.xyz/userOpHash/${txnHash}?network=${chains[targetChain].network}`; }