From 0ced09b9aa574b37d627248280857e5758ea0033 Mon Sep 17 00:00:00 2001 From: Zai <113694524+zaialamm@users.noreply.github.com> Date: Wed, 12 Feb 2025 00:58:11 +0800 Subject: [PATCH] Update token-lottery.ts change sb_on_demand_pid to on_demand_mainnet_pid --- project-9-token-lottery/tests/token-lottery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project-9-token-lottery/tests/token-lottery.ts b/project-9-token-lottery/tests/token-lottery.ts index fa1f0e7..055c812 100644 --- a/project-9-token-lottery/tests/token-lottery.ts +++ b/project-9-token-lottery/tests/token-lottery.ts @@ -21,7 +21,7 @@ describe("token-lottery", () => { before("Loading switchboard program", async () => { const switchboardIDL = await anchor.Program.fetchIdl( - sb.SB_ON_DEMAND_PID, + sb.ON_DEMAND_MAINNET_PID, // new updated version {connection: new anchor.web3.Connection("https://mainnet.helius-rpc.com/?api-key=792d0c03-a2b0-469e-b4ad-1c3f2308158c")} ); switchboardProgram = new anchor.Program(switchboardIDL, provider);