-
Notifications
You must be signed in to change notification settings - Fork 74
feat(ulxly): add --proof-l1-info-tree-index flag for claim asset and message #726
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
…gkit bridge service
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.
Pull Request Overview
This PR adds support for specifying a custom L1 Info Tree Index when claiming assets or messages through the aggkit bridge service. The new --proof-l1-info-tree-index flag allows users to override the automatic L1 Info Tree Index resolution that normally occurs via network_id and deposit_count.
Key changes:
- Added new CLI flag
--proof-l1-info-tree-indexfor claim asset and message commands - Refactored bridge service interface to support multiple proof generation methods
- Updated documentation to reflect the new flag option
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| cmd/ulxly/ulxly.go | Added flag handling and updated proof generation logic to support L1 Info Tree Index override |
| cmd/ulxly/bridge_service/interface.go | Refactored interface to separate proof methods by source (default, GER, L1InfoTreeIndex) |
| cmd/ulxly/bridge_service/legacy/service.go | Implemented new interface methods, added error handling for unsupported L1InfoTreeIndex |
| cmd/ulxly/bridge_service/aggkit/service.go | Refactored proof generation logic to support L1InfoTreeIndex parameter |
| doc/*.md | Updated documentation to include the new flag description |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…message (#726) * ulxly: add l1-info-tree-index flag for claim asset and message for aggkit bridge service * make proof-ger and proog-l1-info-tree-index mutually exclusive
…message (#726) * ulxly: add l1-info-tree-index flag for claim asset and message for aggkit bridge service * make proof-ger and proog-l1-info-tree-index mutually exclusive
…message (#726) * ulxly: add l1-info-tree-index flag for claim asset and message for aggkit bridge service * make proof-ger and proog-l1-info-tree-index mutually exclusive
closes https://github.com/0xPolygon/devtools/issues/419
The
aggkit bridge servicerequires thel1-info-tree-indexto be provided to generate the proof for claiming anassetormessage. Thel1-info-tree-indexis loaded automatically using thenetwork_idanddeposit_count.The new flag
--proof-l1-info-tree-indexallows the user to force a specificl1 info tree indexwhile claiming anassetormessagevia theaggkit bridge service