Skip to content

Commit a0a22e1

Browse files
committed
Enhanced bundler engine for creating short and quick bundles
1 parent 41b21ba commit a0a22e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1057
-1049
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.59.12
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.59.11
611

712
- Fix for broken shard merge

Cargo.toml

Lines changed: 2 additions & 2 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.59.11'
5+
version = '0.59.12'
66

77
[workspace]
88
members = [ 'storage' ]
@@ -107,7 +107,7 @@ tokio = { features = [ 'macros' ], version = '1.5' }
107107

108108
[features]
109109
default = [ 'telemetry', 'ever_block/export_key', 'validator_session/export_key' ]
110-
export_key = [ 'catchain/export_key', 'ever_block/export_key' ]
110+
export_key = [ 'catchain/export_key', 'ever_block/export_key', 'validator_session/export_key' ]
111111
external_db = [ 'rdkafka' ]
112112
fast_finality_extra = [ ]
113113
gosh = [ 'ever_block/gosh', 'ever_vm/gosh' ]

bin/console.rs

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

11391139
#[cfg(test)]
11401140
mod test {
1141-
11421141
use super::*;
11431142
use rand::{Rng, SeedableRng};
11441143
use std::{
@@ -1155,13 +1154,17 @@ mod test {
11551154
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
11561155
};
11571156
use ever_node::{
1158-
block::BlockKind, collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
1157+
block::BlockKind,
1158+
collator_test_bundle::create_engine_allocated,
11591159
config::TonNodeConfig, engine_traits::{EngineAlloc, EngineOperations},
11601160
internal_db::{InternalDbConfig, InternalDb, state_gc_resolver::AllowStateGcSmartResolver},
11611161
network::{control::{ControlServer, DataSource}, node_network::NodeNetwork},
11621162
shard_state::ShardStateStuff, shard_states_keeper::PinnedShardStateGuard,
11631163
validator::validator_manager::ValidationStatus
11641164
};
1165+
1166+
#[cfg(feature = "telemetry")]
1167+
use ever_node::collator_test_bundle::create_engine_telemetry;
11651168
#[cfg(feature = "telemetry")]
11661169
use ever_node::engine_traits::EngineTelemetry;
11671170

src/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ impl BlockStuff {
349349
BlockKind::QueueUpdate{queue_update_for: *queue_update_for, empty: *empty },
350350
BlockOrigin::MeshUpdate{network_id, ..} => BlockKind::MeshUpdate{network_id: *network_id},
351351
BlockOrigin::MeshKit{network_id, ..} => BlockKind::MeshKit{network_id: *network_id},
352-
}
352+
}
353353
}
354354

355355
pub fn block(&self) -> Result<&Block> {
@@ -373,7 +373,7 @@ impl BlockStuff {
373373
if let Some(wc) = self.is_queue_update_for() {
374374
if wc != workchain_id {
375375
fail!("{} is not queue update for wc {}", self.id(), workchain_id)
376-
}
376+
}
377377
}
378378
self
379379
.virt_block()?

0 commit comments

Comments
 (0)