skalenetwork / skale-consensus

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.
https://docs.skale.network/technology/consensus-spec
GNU Affero General Public License v3.0
78 stars 32 forks source link

Add more informative SGX related logs #841

Open olehnikolaiev opened 1 month ago

olehnikolaiev commented 1 month ago

add sgx error message to the logs

current logs are not informative

Jul 3, 2024 @ 19:21:09.725    [2024-07-03 16:21:09.725] [77:main] [error] 4415045:  !Caused by: BlockConsensusAgent:reportConsensusAndDecideIfNeeded

Jul 3, 2024 @ 19:21:09.725    [2024-07-03 16:21:09.725] [77:main] [error] 4415045:   !Caused by: BlockConsensusAgent:decideBlock

Jul 3, 2024 @ 19:21:09.725    [2024-07-03 16:21:09.725] [77:main] [error] 4415045:Exception in Schain::messageThreadProcessingLoop

Jul 3, 2024 @ 19:21:09.725    [2024-07-03 16:21:09.725] [77:main] [error] 4415045:!Exception: BlockConsensusAgent:routeAndProcessMessage

Jul 3, 2024 @ 19:21:09.725    [2024-07-03 16:21:09.725] [error] Error in doRequestReply:std:State check failed::status == 0 /home/s5/actions-runner-1/_work/skaled/skaled/libconsensus/sgxclient/SgxZmqMessage.cpp:83