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 May 16, 2024
1 parent b70476b commit babbf64
Show file tree
Hide file tree
Showing 37 changed files with 999 additions and 864 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.58.5

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

## Version 0.58.4

- Added support for due payment fix
Expand Down
7 changes: 4 additions & 3 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.58.4'
version = '0.58.5'

[workspace]
members = [ 'storage' ]
Expand Down Expand Up @@ -101,25 +101,26 @@ validator_session = { path = 'validator-session' }
[dev-dependencies]
async-trait = '0.1'
difference = '2.0'
ed25519-dalek = '1.0.1'
external-ip = '4.1.0'
pretty_assertions = '1.3'
tokio = { features = [ 'macros' ], version = '1.5' }

[features]
default = [ 'telemetry', 'ever_block/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' ]
log_metrics = [ ]
only_sorted_clean = [ ]
prometheus = [ 'metrics-exporter-prometheus', 'log_metrics' ]
signature_with_id = [ 'ever_block/signature_with_id', 'ever_vm/signature_with_id', 'ever_executor/signature_with_id' ]
slashing = [ 'validator_session/slashing' ]
statsd = [ 'metrics-exporter-statsd', 'log_metrics', 'dep:statsd' ]
telemetry = [ 'adnl/telemetry', 'storage/telemetry' ]
trace_alloc = [ ]
trace_alloc_detail = [ 'trace_alloc' ]
tracing = [ ]
verification = [ 'ever_block/export_key' ]

[profile]
Expand Down
6 changes: 4 additions & 2 deletions bin/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,6 @@ async fn main() {

#[cfg(test)]
mod test {

use super::*;
use std::{fs, path::Path, sync::Arc, thread};
use serde_json::json;
Expand All @@ -946,13 +945,16 @@ mod test {
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
};
use ever_node::{
collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
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,
validator::validator_manager::ValidationStatus, shard_states_keeper::PinnedShardStateGuard,
};

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

Expand Down
1 change: 0 additions & 1 deletion src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ impl BlockStuff {
Ok(shards)
}

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

0 comments on commit babbf64

Please sign in to comment.