Luke Parker
a275023cfc
Finish merging in the develop branch
2025-01-30 03:14:24 -05:00
Luke Parker
0b30ac175e
Restore workspace-wide clippy
...
Fixes accumulated errors in the Substrate code. Modifies the runtime build to
work with a modern clippy. Removes e2e tests from the workspace.
2025-01-19 02:27:35 -05:00
Luke Parker
be2098d2e1
Remove Serai from the ConfirmDkgTask
2025-01-15 21:00:50 -05:00
Luke Parker
f36bbcba25
Flatten the map of preprocesses/shares, send Participant index with DkgParticipation
2025-01-15 14:24:51 -05:00
Luke Parker
167826aa88
Implement SeraiAddress <-> Participant mapping and add RemoveParticipant transactions
2025-01-15 12:51:35 -05:00
Luke Parker
7312fa8d3c
Spawn PublishSlashReportTask
...
Updates it so that it'll try for every network instead of returning after any
network fails.
Uses the SlashReport type throughout the codebase.
2025-01-15 12:08:28 -05:00
Luke Parker
92a4cceeeb
Spawn PublishBatchTask
...
Also removes the expectation Batches published via it are sent in an ordered
fashion. That won't be true if the signing protocols complete out-of-order (as
possible when we are signing them in parallel).
2025-01-15 11:21:55 -05:00
Luke Parker
a7fef2ba7a
Redesign Slash/SlashReport types with a function to calculate the penalty
2025-01-14 07:51:39 -05:00
Luke Parker
5e0e91c85d
Add tasks to publish data onto Serai
2025-01-14 01:58:26 -05:00
Luke Parker
b5a6b0693e
Add a proper error type to ContinuallyRan
...
This isn't necessary. Because we just log the error, we never match off of it,
we don't need any structure beyond String (or now Debug, which still gives us
a way to print the error). This is for the ergonomics of not having to
constantly write `.map_err(|e| format!("{e:?}"))`.
2025-01-12 18:29:08 -05:00
Luke Parker
74106b025f
Publish SlashReport onto the Tributary
2025-01-11 06:51:55 -05:00
Luke Parker
c05b0c9eba
Handle Canonical, NewSet from serai-coordinator-substrate
2025-01-11 03:07:15 -05:00
Luke Parker
cbe83956aa
Flesh out Coordinator main
...
Lot of TODOs as the APIs are all being routed together.
2025-01-10 02:24:24 -05:00
Luke Parker
479ca0410a
Add commentary on the use of FuturesOrdered
2025-01-04 23:28:54 -05:00
Luke Parker
6272c40561
Restore block_hash to Batch
...
It's not only helpful (to easily check where Serai's view of the external
network is) but it's necessary in case of a non-trivial chain fork to determine
which blockchain Serai considers canonical.
2024-12-31 18:10:47 -05:00
Luke Parker
7e2b31e5da
Clean the transaction definitions in the coordinator
...
Moves to borsh for serialization. No longer includes nonces anywhere in the TX.
2024-12-31 12:14:32 -05:00
Luke Parker
8c9441a1a5
Redo coordinator's Substrate scanner
2024-12-31 10:37:19 -05:00