serai/tests/coordinator
Luke Parker 2db53d5434
Use &self for handle_message and sync_block in Tributary
They used &mut self to prevent execution at the same time. This uses a lock
over the channel to achieve the same security, without requiring a lock over
the entire tributary.

This fixes post-provided Provided transactions. sync_block waited for the TX to
be provided, yet it never would as sync_block held a mutable reference over the
entire Tributary, preventing any other read/write operations of any scope.

A timeout increased (bc2f23f72b) due to this bug
not being identified has been decreased back, thankfully.

Also shims in basic support for Completed, which was the WIP before this bug
was identified.
2023-08-27 05:07:11 -04:00
..
src Use &self for handle_message and sync_block in Tributary 2023-08-27 05:07:11 -04:00
Cargo.toml Extend Batch test with SubstrateBlock/arb Batch signing 2023-08-25 21:37:36 -04:00
LICENSE Add initial coordinator e2e tests 2023-08-01 19:00:48 -04:00