Skip to content

Commit babbf64

Browse files
committed
Enhanced bundler engine for creating short and quick bundles
1 parent b70476b commit babbf64

37 files changed

+999
-864
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.5
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.4
611

712
- Added support for due payment fix

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.4'
5+
version = '0.58.5'
66

77
[workspace]
88
members = [ 'storage' ]
@@ -101,25 +101,26 @@ validator_session = { path = 'validator-session' }
101101
[dev-dependencies]
102102
async-trait = '0.1'
103103
difference = '2.0'
104-
ed25519-dalek = '1.0.1'
105104
external-ip = '4.1.0'
106105
pretty_assertions = '1.3'
107106
tokio = { features = [ 'macros' ], version = '1.5' }
108107

109108
[features]
110109
default = [ 'telemetry', 'ever_block/export_key' ]
111-
export_key = [ 'catchain/export_key', 'ever_block/export_key' ]
110+
export_key = [ 'catchain/export_key', 'ever_block/export_key', 'validator_session/export_key' ]
112111
external_db = [ 'rdkafka' ]
113112
fast_finality_extra = [ ]
114113
gosh = [ 'ever_block/gosh', 'ever_vm/gosh' ]
115114
log_metrics = [ ]
115+
only_sorted_clean = [ ]
116116
prometheus = [ 'metrics-exporter-prometheus', 'log_metrics' ]
117117
signature_with_id = [ 'ever_block/signature_with_id', 'ever_vm/signature_with_id', 'ever_executor/signature_with_id' ]
118118
slashing = [ 'validator_session/slashing' ]
119119
statsd = [ 'metrics-exporter-statsd', 'log_metrics', 'dep:statsd' ]
120120
telemetry = [ 'adnl/telemetry', 'storage/telemetry' ]
121121
trace_alloc = [ ]
122122
trace_alloc_detail = [ 'trace_alloc' ]
123+
tracing = [ ]
123124
verification = [ 'ever_block/export_key' ]
124125

125126
[profile]

bin/console.rs

Lines changed: 4 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,16 @@ mod test {
946945
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
947946
};
948947
use ever_node::{
949-
collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
948+
collator_test_bundle::create_engine_allocated,
950949
config::TonNodeConfig, engine_traits::{EngineAlloc, EngineOperations},
951950
internal_db::{InternalDbConfig, InternalDb, state_gc_resolver::AllowStateGcSmartResolver},
952951
network::{control::{ControlServer, DataSource}, node_network::NodeNetwork},
953952
shard_state::ShardStateStuff,
954953
validator::validator_manager::ValidationStatus, shard_states_keeper::PinnedShardStateGuard,
955954
};
955+
956+
#[cfg(feature = "telemetry")]
957+
use ever_node::collator_test_bundle::create_engine_telemetry;
956958
#[cfg(feature = "telemetry")]
957959
use ever_node::engine_traits::EngineTelemetry;
958960

src/block.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ impl BlockStuff {
337337
Ok(shards)
338338
}
339339

340-
#[cfg(feature = "external_db")]
341340
pub fn top_blocks_all(&self) -> Result<Vec<BlockIdExt>> {
342341
let mut shards = Vec::new();
343342
self

0 commit comments

Comments
 (0)