Skip to content

Commit 9326cb5

Browse files
committed
Enhanced bundler engine for creating short and quick bundles
1 parent a2d936d commit 9326cb5

37 files changed

+1017
-884
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Version 0.58.7
6+
7+
- Enhanced bundler engine for creating short and quick bundles
8+
using state proofs instead of full state for debugging and testing purposes
9+
510
## Version 0.58.6
611

712
- Send SMFT messages to random workchain nodes to improve delivery across workchain

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build = 'common/build/build.rs'
33
edition = '2021'
44
name = 'ever-node'
5-
version = '0.58.6'
5+
version = '0.58.7'
66

77
[workspace]
88
members = [ 'storage' ]
@@ -100,25 +100,26 @@ validator_session = { path = 'validator-session' }
100100

101101
[dev-dependencies]
102102
difference = '2.0'
103-
ed25519-dalek = '1.0.1'
104103
external-ip = '4.1.0'
105104
pretty_assertions = '1.3'
106105
tokio = { features = [ 'macros' ], version = '1.5' }
107106

108107
[features]
109108
default = [ 'telemetry', 'ever_block/export_key' ]
110-
export_key = [ 'catchain/export_key', 'ever_block/export_key' ]
109+
export_key = [ 'catchain/export_key', 'ever_block/export_key', 'validator_session/export_key' ]
111110
external_db = [ 'rdkafka' ]
112111
fast_finality_extra = [ ]
113112
gosh = [ 'ever_block/gosh', 'ever_vm/gosh' ]
114113
log_metrics = [ ]
114+
only_sorted_clean = [ ]
115115
prometheus = [ 'metrics-exporter-prometheus', 'log_metrics' ]
116116
signature_with_id = [ 'ever_block/signature_with_id', 'ever_vm/signature_with_id', 'ever_executor/signature_with_id' ]
117117
slashing = [ 'validator_session/slashing' ]
118118
statsd = [ 'metrics-exporter-statsd', 'log_metrics', 'dep:statsd' ]
119119
telemetry = [ 'adnl/telemetry', 'storage/telemetry' ]
120120
trace_alloc = [ ]
121121
trace_alloc_detail = [ 'trace_alloc' ]
122+
tracing = [ ]
122123
verification = [ 'ever_block/export_key' ]
123124

124125
[profile]

bin/console.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,6 @@ async fn main() {
934934

935935
#[cfg(test)]
936936
mod test {
937-
938937
use super::*;
939938
use std::{fs, path::Path, sync::Arc, thread};
940939
use serde_json::json;
@@ -946,13 +945,17 @@ mod test {
946945
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
947946
};
948947
use ever_node::{
949-
block::BlockKind, collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
948+
block::BlockKind,
949+
collator_test_bundle::create_engine_allocated,
950950
config::TonNodeConfig, engine_traits::{EngineAlloc, EngineOperations},
951951
internal_db::{InternalDbConfig, InternalDb, state_gc_resolver::AllowStateGcSmartResolver},
952952
network::{control::{ControlServer, DataSource}, node_network::NodeNetwork},
953953
shard_state::ShardStateStuff, shard_states_keeper::PinnedShardStateGuard,
954954
validator::validator_manager::ValidationStatus
955955
};
956+
957+
#[cfg(feature = "telemetry")]
958+
use ever_node::collator_test_bundle::create_engine_telemetry;
956959
#[cfg(feature = "telemetry")]
957960
use ever_node::engine_traits::EngineTelemetry;
958961

src/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ impl BlockStuff {
347347
BlockKind::QueueUpdate{queue_update_for: *queue_update_for, empty: *empty },
348348
BlockOrigin::MeshUpdate{network_id, ..} => BlockKind::MeshUpdate{network_id: *network_id},
349349
BlockOrigin::MeshKit{network_id, ..} => BlockKind::MeshKit{network_id: *network_id},
350-
}
350+
}
351351
}
352352

353353
pub fn block(&self) -> Result<&Block> {
@@ -371,7 +371,7 @@ impl BlockStuff {
371371
if let Some(wc) = self.is_queue_update_for() {
372372
if wc != workchain_id {
373373
fail!("{} is not queue update for wc {}", self.id(), workchain_id)
374-
}
374+
}
375375
}
376376
self
377377
.virt_block()?

0 commit comments

Comments
 (0)