1bc2cc7f76
test_rpc_slot_updates fails if SlotUpdate::Completed is received after SlotUpdate::Frozen: https://github.com/solana-labs/solana/blob/dcfd823ca/rpc-test/tests/rpc.rs#L198-L228 However, SlotUpdate::Completed is sent asynchronous to banking-stage and replay when shreds are inserted into blockstore. When the leader generates blocks, replay may freeze the bank before shreds are all inserted into blockstore; and so SlotUpdate::Completed may be received _after_ SlotUpdate::Frozen. The commit removes the ordering check for SlotUpdate::Completed. |
||
---|---|---|
.. | ||
nonblocking.rs | ||
rpc.rs |