smoldot icon indicating copy to clipboard operation
smoldot copied to clipboard

Panic related to peers cache

Open tomaka opened this issue 3 years ago • 2 comments

cc https://github.com/paritytech/smoldot/pull/2898

panicked at 'assertion failed: _prev_value.is_none()', /home/tomaka/Projets/smoldot/src/libp2p/peers.rs:1220:21

https://github.com/paritytech/smoldot/blob/2baf614f8de1a2fa7f515d6aab8a9fbd98714c5d/src/libp2p/peers.rs#L1220

tomaka avatar Oct 20 '22 07:10 tomaka

Can be reproduced by running https://github.com/paritytech/smoldot/pull/2876 with the Polkadot chain.

tomaka avatar Oct 24 '22 14:10 tomaka

Can be reproduced by running https://github.com/paritytech/smoldot/pull/2876 with the Polkadot chain.

Can't reproduce anymore. This is a bit annoying, as reviewing the code again doesn't reveal any mistake to me.

tomaka avatar Oct 25 '22 09:10 tomaka