Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tutorial): support nebra version 1.1 #3

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
Loading