-
Notifications
You must be signed in to change notification settings - Fork 47
feat: refactor settlement logic and use strong types for agglayer-types #835
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just first pass over some of the new stronger types. These are mostly suggestions and can be done as a follow up or ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another pass over the strong type changes
crates/agglayer-jsonrpc-api/src/tests/get_latest_known_certificate_header.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR actually builds on top of #819 (as per the PR description 😝). So yes, all changes from #819 are also duplicated here, it's also the reason why I've left it as draft until #819 lands and we can easily review the diff between this and main-then. This being said, thank you very much for your reviews, that are helping me start to improve on this PR even before #819 lands 😄 (As for making #819 the target of this branch, last time I tried that, when I merged the base github completely broke my PR and I had to reopen it. So I decided to just keep both targeting main, leave this one as draft, and just merge main into this branch once #819 will have merged-in; that should hopefully work fine) |
crates/agglayer-certificate-orchestrator/src/certificate_task.rs
Outdated
Show resolved
Hide resolved
crates/agglayer-certificate-orchestrator/src/certificate_task.rs
Outdated
Show resolved
Hide resolved
crates/agglayer-certificate-orchestrator/src/settlement_client.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Simon Paitrault <spaitrault@polygon.technology>
crates/agglayer-aggregator-notifier/src/settlement_client/mod.rs
Outdated
Show resolved
Hide resolved
6d7a60e
Fixes https://github.com/agglayer/protocol-research/issues/148
Fixes #661
Builds on top of #819
PR Checklist: