polygon-edge
polygon-edge copied to clipboard
[Bridge] Checkpoint
Fix Edge-459
Description
This PR is a base PR for Bridge Checkpoint, checked out from bridge
branch.
TODO for Phase 1
- [x] Create bridge/checkpoint package bridge
- [x] Generate new Checkpoint at the beginning of every epoch
- [x] Create Transport for Checkpoint Gossip
- [x] Sign generated Checkpoint and gossip it
- [x] Show logs once collected 2/3+ signatures
Changes include
- [ ] Bugfix (non-breaking change that solves an issue)
- [ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist
- [x] I have assigned this PR to myself
- [x] I have added at least 1 reviewer
- [x] I have added the relevant labels
- [ ] I have updated the official documentation
- [ ] I have added sufficient documentation in code
Testing
- [ ] I have tested this code with the official test suite
- [ ] I have tested this code manually
Manual tests
Please complete this section if you ran manual tests for this functionality, otherwise delete it
Documentation update
Please link the documentation update PR in this section if it's present, otherwise delete it
Additional comments
Please post additional comments in this section if you have them, otherwise delete it