feat: aggregation mode explorer#1846
Merged
MauroToscano merged 75 commits intostagingfrom Apr 10, 2025
Merged
Conversation
Changes to gas cost
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
JuArce
reviewed
Apr 7, 2025
explorer/lib/explorer/contract_managers/aligned_proof_aggregation_service.ex
Outdated
Show resolved
Hide resolved
this prevents the situation where we would increase by one the slot from the parent but no block was proposed in the next slot
14 tasks
JuArce
reviewed
Apr 8, 2025
JuArce
reviewed
Apr 8, 2025
| nil -> | ||
| Explorer.Repo.insert(changeset) | ||
|
|
||
| existing_proof -> |
Collaborator
There was a problem hiding this comment.
i think it is more a general problem in the explorer, but in some moment we should improve logs
Member
Author
There was a problem hiding this comment.
I agree, we should improve the logs + add a ci for formatting.
JuArce
reviewed
Apr 8, 2025
JuArce
reviewed
Apr 8, 2025
JuArce
reviewed
Apr 8, 2025
explorer/priv/repo/migrations/20250407002009_create_aggregated_proofs.exs
Outdated
Show resolved
Hide resolved
JuArce
requested changes
Apr 8, 2025
Collaborator
JuArce
left a comment
There was a problem hiding this comment.
The most important change is related to the db scheme
JuArce
approved these changes
Apr 10, 2025
MauroToscano
approved these changes
Apr 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds periodic fetches for aggregation mode events and stores data structures in db.
How to run
make explorer_build_dbmake explorer_run_dbmake explorer_ecto_setup_dbmake run_explorerpsql:docker exec -it explorer-postgres-container psql -U explorer_user -d explorer_dbSELECT * FROM aggregated_proofs;SELECT * FROM proofs_agg_mode WHERE aggregated_proof_number = NType of change
Checklist
testnet, everything else tostaging