Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced bundler engine for creating short and quick bundles #241

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.20

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

## Version 0.59.18

- Cleanup fast_finality for SMFT. Add default parameters for workchain delivery
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.18'
version = '0.59.20'

[workspace]
members = [ 'storage' ]
Expand Down Expand Up @@ -108,7 +108,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