mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
The simulator skipped a wakeup whenever any node was already due to wake at the same time, so of several nodes asking to wake at the same moment, only the first was ever woken. With nodes started together, most of them never ran their periodic tasks, relaying included. Only skip a wakeup if the same node is already due to wake at that time, which includes the later time slots that colliding inputs are moved to. `announcement_message_amplification` passed only because of this: in every simulation, only Cid, whose node ID sorts first, ever woke, so only Cid relayed the announcement. With every node waking at the same moment, all of them relay it before receiving it from each other, which brings the amplification close to the worst case. Assert that it stays above 3, and mark the assertion to be lowered.