chainbound / bolt

Bolt: permissionless out-of-protocol proposer commitments.
https://chainbound.github.io/bolt-docs/
MIT License
27 stars 5 forks source link

Restore BLS signature checks on constraints for devnet #82

Open thedevbirb opened 3 weeks ago

thedevbirb commented 3 weeks ago

Closes #72. This PR re-introduces BLS signatures checks on the forked relay following the procedure specified in the related issue. Signatures are produced in the sidecar by finding validator data for the current epoch and retrieving the private key of the validator of the current slot. It also introduces a feature flag in the sidecar called "demo" just to start separating the concerns. For now it's set to default.

While it's a bit unclear how these changes be impactful given recent development of both commit-boost and the registry, this is still a piece of functionality missing from the original demo and nice to have. Eventually we can keep it in a separate branch.