From c69415d6c3a7a9e725115d413f56f39e4e2f56cb Mon Sep 17 00:00:00 2001 From: Ramin Date: Mon, 2 Sep 2024 22:53:48 +0330 Subject: [PATCH] change to BASE_SEPOLIA --- src/routes/replyAttestation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/replyAttestation.ts b/src/routes/replyAttestation.ts index 87fe211..3715a40 100644 --- a/src/routes/replyAttestation.ts +++ b/src/routes/replyAttestation.ts @@ -3,7 +3,7 @@ import {getProvider} from "../helpers/ethers.js"; import {NETWORK_IDS} from "../helpers/constants.js"; import {JsonRpcProvider} from "ethers"; -const baseAttestationScan = 'https://base.easscan.org/attestation/view/'; +const baseAttestationScan = 'https://base-sepolia.easscan.org/attestation/view/'; const wait = async (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); @@ -26,7 +26,7 @@ const replyAttestation = async (req: Request) => { console.log('txHash', txHash); console.log('praiseHash', praiseHash); console.log('-----------------'); - const provider = getProvider(NETWORK_IDS.BASE_MAINNET); + const provider = getProvider(NETWORK_IDS.BASE_SEPOLIA); let attestationHash; let loopCount = 0; while (!attestationHash || loopCount < 10) {