hathor-core icon indicating copy to clipboard operation
hathor-core copied to clipboard

Simulation not producing blocks/txs when using a single peer

Open jansegre opened this issue 3 years ago • 1 comments

Should we create an issue to handle it later?

Originally posted by @msbrogli in https://github.com/HathorNetwork/hathor-core/pull/393#discussion_r855934651

This was discovered on a PR that will be merged soon. Apparently the tests that fall on this behavior aren't hiding any bugs, that is, fixing this behavior doesn't seems like it would uncover a bug. I've worked around this on another test by just adding a dummy peer, which seems to trigger the "transaction adding".

jansegre avatar Apr 22 '22 16:04 jansegre

This still happens for come reason, although it doesn't have impact on any tests. See https://github.com/HathorNetwork/hathor-core/blob/master/tests/simulation/test_simulator.py#L19-L31

jansegre avatar Sep 19 '24 14:09 jansegre