From 6761b40dfcca409957ce7b5f2124dc6126d07fb1 Mon Sep 17 00:00:00 2001 From: theocdl Date: Wed, 27 Mar 2024 19:16:47 +0100 Subject: [PATCH] feat: Switch to OP Sepolia --- badges/coverage.svg | 2 +- dist/index.js | 2 +- src/main.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/badges/coverage.svg b/badges/coverage.svg index e715b0f..ed263b4 100644 --- a/badges/coverage.svg +++ b/badges/coverage.svg @@ -1 +1 @@ -Coverage: 90.9%Coverage90.9% \ No newline at end of file +Coverage: 9.09%Coverage9.09% \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index a455dde..4c3a1f2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11418,7 +11418,7 @@ async function run() { if (errorContract instanceof Error) core.setFailed(errorContract.message); } - const provider = new ethers_1.ethers.JsonRpcProvider('https://ethereum-sepolia.publicnode.com'); + const provider = new ethers_1.ethers.JsonRpcProvider('https://optimism-sepolia-rpc.publicnode.com/'); const specialSigner = new ethers_1.ethers.Wallet(privateKey, provider); const pattini = new ethers_1.ethers.Contract(contractAddress, abi, specialSigner); //Beginning of the action on chain: diff --git a/src/main.ts b/src/main.ts index c808612..f72663d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -42,7 +42,7 @@ export async function run(): Promise { } const provider = new ethers.JsonRpcProvider( - 'https://ethereum-sepolia.publicnode.com' + 'https://optimism-sepolia-rpc.publicnode.com/' ) const specialSigner = new ethers.Wallet(privateKey, provider) const pattini = new ethers.Contract(contractAddress, abi, specialSigner)