From 5d141f7a7486510acc81fa103ffa5164022a2b6f Mon Sep 17 00:00:00 2001 From: oyyblin <4529189+oyyblin@users.noreply.github.com> Date: Mon, 20 May 2024 13:35:32 -0700 Subject: [PATCH] fix(tutorial): support nebra version 1.1 --- apps/tutorial/src/useNebraUpa.ts | 4 ++-- apps/tutorial/upa.instance | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/tutorial/src/useNebraUpa.ts b/apps/tutorial/src/useNebraUpa.ts index 25dd949..e318ec5 100644 --- a/apps/tutorial/src/useNebraUpa.ts +++ b/apps/tutorial/src/useNebraUpa.ts @@ -14,8 +14,8 @@ const provider = new ethers.JsonRpcProvider(RPC); const context = "Proof Aggregation Tutorial Example Context"; // registered with this tx: -// https://sepolia.etherscan.io/tx/0x2d1515bbb8680144d06ce61323e080aac7396b820a14382413eb983493c7e980 -const circuidId = BigInt("19492248766170790707669674188275240677746386057031629350922666022616552857566"); +// https://sepolia.etherscan.io/tx/0x89c0cf5af6f6c0b6750bd6b3a4b93c02605d0ba1541c26387ed7da3ae7df3ffa +const circuidId = BigInt("535783125321978663259414080602879573584328345995263811920911450103380255481"); // This is a dummy issuer's EVM address that has been registered on sepolia. const dummyIssuerEvmAddr = "0xdeee54e0f3cbb7d5c4b2cb91d39c9c9b48a1b532"; diff --git a/apps/tutorial/upa.instance b/apps/tutorial/upa.instance index 7003b72..e3d4e8d 100644 --- a/apps/tutorial/upa.instance +++ b/apps/tutorial/upa.instance @@ -1,7 +1,6 @@ { - "verifier": "0xB6D545eEe2d9B3653DaBCf1D0ea23A80FCd51B4C", - "proofReceiver": "0xb85eb64229A46ee784ee504bc583E0820551fa7c", - "poseidon": "0x0457c39230A791c63ceFe7166d0Db8e1A2Fad27d", - "aggregatedProofVerifier": "0xaf0e17dC4De072b9b6a356c51418e017804c560D", - "feeModel": "0xd43Ed118ef8E2D8d5E11FeEbadADDf456d31639E" + "verifier": "0x8bdEa1842afb8Be3b46d8fE8D6d110eDE057d7c7", + "proofReceiver": "0x310dF68C54aCA8e9446aBAAacd4e3ACda39c706A", + "feeModel": "0x17E358c9efD3a47f1700B3Ab60429302F2a9e807", + "deploymentBlockNumber": 5829030 } \ No newline at end of file