Skip to content

Commit

Permalink
Enhanced bundler engine for creating short and quick bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavser committed Aug 27, 2024
1 parent 41b21ba commit d51cec1
Show file tree
Hide file tree
Showing 42 changed files with 1,066 additions and 1,064 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

## Version 0.59.12

- Enhanced bundler engine for creating short and quick bundles
using state proofs instead of full state for debugging and testing purposes

## Version 0.59.11

- Fix for broken shard merge
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build = 'common/build/build.rs'
edition = '2021'
name = 'ever-node'
version = '0.59.11'
version = '0.59.12'

[workspace]
members = [ 'storage' ]
Expand Down Expand Up @@ -107,7 +107,7 @@ tokio = { features = [ 'macros' ], version = '1.5' }

[features]
default = [ 'telemetry', 'ever_block/export_key', 'validator_session/export_key' ]
export_key = [ 'catchain/export_key', 'ever_block/export_key' ]
export_key = [ 'catchain/export_key', 'ever_block/export_key', 'validator_session/export_key' ]
external_db = [ 'rdkafka' ]
fast_finality_extra = [ ]
gosh = [ 'ever_block/gosh', 'ever_vm/gosh' ]
Expand Down
7 changes: 5 additions & 2 deletions bin/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,6 @@ async fn main() {

#[cfg(test)]
mod test {

use super::*;
use rand::{Rng, SeedableRng};
use std::{
Expand All @@ -1155,13 +1154,17 @@ mod test {
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
};
use ever_node::{
block::BlockKind, collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
block::BlockKind,
collator_test_bundle::create_engine_allocated,
config::TonNodeConfig, engine_traits::{EngineAlloc, EngineOperations},
internal_db::{InternalDbConfig, InternalDb, state_gc_resolver::AllowStateGcSmartResolver},
network::{control::{ControlServer, DataSource}, node_network::NodeNetwork},
shard_state::ShardStateStuff, shard_states_keeper::PinnedShardStateGuard,
validator::validator_manager::ValidationStatus
};

#[cfg(feature = "telemetry")]
use ever_node::collator_test_bundle::create_engine_telemetry;
#[cfg(feature = "telemetry")]
use ever_node::engine_traits::EngineTelemetry;

Expand Down
4 changes: 2 additions & 2 deletions src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl BlockStuff {
BlockKind::QueueUpdate{queue_update_for: *queue_update_for, empty: *empty },
BlockOrigin::MeshUpdate{network_id, ..} => BlockKind::MeshUpdate{network_id: *network_id},
BlockOrigin::MeshKit{network_id, ..} => BlockKind::MeshKit{network_id: *network_id},
}
}
}

pub fn block(&self) -> Result<&Block> {
Expand All @@ -373,7 +373,7 @@ impl BlockStuff {
if let Some(wc) = self.is_queue_update_for() {
if wc != workchain_id {
fail!("{} is not queue update for wc {}", self.id(), workchain_id)
}
}
}
self
.virt_block()?
Expand Down
Loading

0 comments on commit d51cec1

Please sign in to comment.