Open akoptelov opened 1 month ago
When sending big messages via RPC, the following error is triggered in debug configuration:
debug
thread 'block' panicked at p2p/src/network/yamux/p2p_network_yamux_reducer.rs:161:25: attempt to subtract with overflow
See the code, and also the comment: https://github.com/openmina/openmina/blob/3ea843d65d1c6cd42991af464231e9129e12a909/p2p/src/network/yamux/p2p_network_yamux_reducer.rs#L158-L161
Can be reproduced using this branch: https://github.com/openmina/openmina/tree/task/test-p2p-rpc
cargo test --test rpc -- --ignored --exact block
To see debug tracing level, use OPENMINA_TRACING_LEVEL=debug.
OPENMINA_TRACING_LEVEL=debug
When sending big messages via RPC, the following error is triggered in
debug
configuration:See the code, and also the comment: https://github.com/openmina/openmina/blob/3ea843d65d1c6cd42991af464231e9129e12a909/p2p/src/network/yamux/p2p_network_yamux_reducer.rs#L158-L161