Skip to content

Commit

Permalink
fix(tutorial): support nebra version 1.1 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyyblin committed May 20, 2024
1 parent 5550b7b commit 4dc876f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/tutorial/src/useNebraUpa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
9 changes: 4 additions & 5 deletions apps/tutorial/upa.instance
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"verifier": "0xB6D545eEe2d9B3653DaBCf1D0ea23A80FCd51B4C",
"proofReceiver": "0xb85eb64229A46ee784ee504bc583E0820551fa7c",
"poseidon": "0x0457c39230A791c63ceFe7166d0Db8e1A2Fad27d",
"aggregatedProofVerifier": "0xaf0e17dC4De072b9b6a356c51418e017804c560D",
"feeModel": "0xd43Ed118ef8E2D8d5E11FeEbadADDf456d31639E"
"verifier": "0x8bdEa1842afb8Be3b46d8fE8D6d110eDE057d7c7",
"proofReceiver": "0x310dF68C54aCA8e9446aBAAacd4e3ACda39c706A",
"feeModel": "0x17E358c9efD3a47f1700B3Ab60429302F2a9e807",
"deploymentBlockNumber": 5829030
}

0 comments on commit 4dc876f

Please sign in to comment.