Uh oh!
There was an error while loading. Please reload this page.
feat(aggregation-mode): integrate proof aggregator with db - #2186
Conversation
Uh oh!
There was an error while loading. Please reload this page.
JuArce
left a comment
There was a problem hiding this comment.
It reverts with the following error
2025-12-10T16:32:35.786255Z ERROR proof_aggregator::backend: Error while aggregating and submitting proofs: SendVerifyAggregatedProofTransaction("server returned an error response: error code 3: execution reverted, data: \"0x5a08a53700ba19eed0aaeb0151f07b8d3ee7c659bcd29f3021e48fb42766882f55b8450900000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000\"")
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MarcosNicolau
commented
Dec 10, 2025
Solved in d4c454a. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
JuArce
commented
Dec 12, 2025
It fails with the following error |
Changes to gas cost
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
|
Description
Integrates proof aggregator with
Batcherdb. Now theProofFetcherinstead of fetching the proofs from the verification layer (a.k.a fast mode) queries them from the DB managed by the AggMode Batcher. This process is as follows:processingso concurrent aggregators won't try to aggregate the same proofsverifiedThis is an initial version to integrate everything and have something to iterate upon:
pendingstate to make sure they are aggregated by another proof aggregatorverified,submitted, etc).Notes:
elffield for theSP1ProofWithPubValuesAndElfhas been removed and renamed toSP1ProofWithPubValuesAndVk. This is because we don't need theelfanymore since now we can get theVerifyingKeyfrom the request saving us from the overhead of having to setup the client. I was doubtful when implementing this but it seems thatsp1does the same in the prover network see here.How to test
0. Start ethereum package:
processinginadminerorpsqlcurl -X GET 'http://127.0.0.1:8089/receipts?address=0x70997970C51812dc3A010C7d01b50e0d17dc79C8&nonce=<NONCE>'Type of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging