Running the very core of SKL network, SKALE BFT consensus is universal, modern, modular, high-performance, asynchronous, provably-secure, agent-based Proof-of-Stake blockchain consensus engine in C++ 17. Includes provably secure embedded Oracle. Used by SKALE elastic blockchains. Easy and flexible enough to implement your own blockchain or smart contract platform. BLS signatures and Binary Asynchronous Consensus are main building blocks.
When running unit tests of skaled that invovle consensus, consensus' exit flag seems to keep raised after exit of 1st test. It causes consensus to immediately exit at the beginning of 2nd test.
Tests that were used to reproduce: JsonRpcSuite.
[2023-05-30 14:46:44.268] [config] [info] ConsensusEngine: bootstrapping node
[2023-05-30 14:46:44.332] [config] [info] Version update history: 2.1.001
[2023-05-30 14:46:44.332] [config] [info] Bootstrapping consensus ...
[2023-05-30 14:46:44.332] [config] [info] Last committed block in consensus:0
[2023-05-30 14:46:44.332] [config] [info] Last committed block in skaled:0
[2023-05-30 14:46:44.332] [config] [info] Check the consensus database for corruption ...
[2023-05-30 14:46:44.332] [config] [info] Jump starting the system with block:0
[2023-05-30 14:46:44.332] [config] [trace] Save price for block0
[2023-05-30 14:48:21.723] [config] [info] Exiting on block boundary for block 0```
When running unit tests of skaled that invovle consensus, consensus' exit flag seems to keep raised after exit of 1st test. It causes consensus to immediately exit at the beginning of 2nd test.
Tests that were used to reproduce: JsonRpcSuite.