mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
The prior workflow (now deleted) required manually specifying the packages to check and only checked the package could compile under the stated MSRV. It didn't verify it was actually the _minimum_ supported Rust version. The new version finds the MSRV from scratch to check if the stated MSRV aligns. Updates stated MSRVs accordingly. Also removes many explicit dependencies from secq256k1 for their re-exports via k256. Not directly relevant, just part of tidying up all the `toml`s.
Serai Coordinator Substrate
This crate manages the Serai coordinators's interactions with Serai's Substrate blockchain.
Two event streams are defined:
- Canonical events, which must be handled by every validator, regardless of the sets they're present
in. These are represented by
serai_processor_messages::substrate::CoordinatorMessage. - Ephemeral events, which only need to be handled by the validators present within the sets they
relate to. These are represented by two channels,
NewSetandSignSlashReport.
The canonical event stream is available without provision of a validator's public key. The ephemeral event stream requires provision of a validator's public key. Both are ordered within themselves, yet there are no ordering guarantees across the two.
Additionally, a collection of tasks are defined to publish data onto Serai:
SetKeysTask, which sets the keys generated via DKGs onto Serai.PublishBatchTask, which publishesBatchs onto Serai.PublishSlashReportTask, which publishesSlashReports onto Serai.