Skip to content

Commit

Permalink
Merge branch 'develop' into skaled-1900-remove-debug-symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev authored Feb 25, 2025
2 parents 10afdda + e2821f3 commit cab3e0c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
7 changes: 6 additions & 1 deletion catchup/client/CatchupClientAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,15 @@ ptr< CommittedBlockList > CatchupClientAgent::readMissingBlocks( ptr< ClientSock


if ( blockSizes->size() > 1 ) {
LOG( info, "CATCHUP_GOT_BLOCKS:COUNT:"
if ( blockList->getBlocks()->size() > 1) {
LOG( info, "CATCHUP_GOT_BLOCKS:COUNT:"
<< to_string( blockSizes->size() ) << ":STARTBLOCK:"
<< string( blockList->getBlocks()->at( 0 )->getBlockID() )
<< ":FROM_NODE:" << _socket->getIP() );
}
else {
LOG( err, "Could not deserialize blocks" );
}
}
} catch ( ExitRequestedException& ) {
throw;
Expand Down
5 changes: 4 additions & 1 deletion db/CacheLevelDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,10 @@ CacheLevelDB::CacheLevelDB( Schain* _sChain, string& _dirName, string& _prefix,
verify();
}

CacheLevelDB::~CacheLevelDB() {}
CacheLevelDB::~CacheLevelDB() {
if (options.block_cache)
delete options.block_cache;
}

using namespace boost::filesystem;

Expand Down
2 changes: 1 addition & 1 deletion json/JSONFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void JSONFactory::checkSGXStatus( Json::Value& _result ) {

if ( status != 0 ) {
LOG( err, "SGX server returned error status:" << to_string( status ) );
LOG( err, _result.asString() );
LOG( err, _result["errorMessage"].asString() );
}

CHECK_STATE( status == 0 );
Expand Down
5 changes: 5 additions & 0 deletions sgxclient/SgxZmqMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ shared_ptr< SgxZmqMessage > SgxZmqMessage::parse(

CHECK_STATE( ( *d )["status"].IsNumber() )
uint64_t status = ( *d )["status"].GetInt64();

if ( status != 0 ) {
LOG( err, ( *d )["errorMessage"].GetString() );
}

CHECK_STATE( status == 0 );

CHECK_STATE( d->HasMember( "type" ) );
Expand Down
1 change: 0 additions & 1 deletion test/twonodeBLS/node1/Node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"bindIP": "127.0.0.1",
"basePort":1231,
"logLevel": "info",
"logLevelProposal": "info",
"simulateNetworkWriteDelayMs": 100,

"insecureTestBLSPrivateKey":"4160780231445160889237664391382223604184857153814275770598791864649971919844",
Expand Down
1 change: 0 additions & 1 deletion test/twonodes/node1/Node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"bindIP": "127.0.0.1",
"basePort":1231,
"logLevel": "info",
"logLevelProposal": "info",
"simulateNetworkWriteDelayMs": 100
}

1 change: 0 additions & 1 deletion test/twonodes_sameip/node1/Node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"bindIP": "127.0.0.1",
"basePort":1231,
"logLevel": "info",
"logLevelProposal": "info",
"simulateNetworkWriteDelayMs": 100
}

0 comments on commit cab3e0c

Please sign in to comment.