0xPolygonZero / plonky2

Apache License 2.0
758 stars 281 forks source link

Add `Checkpoint` heights #1418

Closed Nashtare closed 9 months ago

Nashtare commented 9 months ago

This changes the notion of genesis block for a checkpoint block, allowing to pass a None argument not only for the first block post-genesis but at any chosen checkpoint height.

@LindaGuiga Would you mind reviewing?

cc @BGluth, this would also allow us to not have to restart from block 1 whenever we want to test block N :)

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information