Skip to content

Commit

Permalink
fix: rebasing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Oct 17, 2023
1 parent 52082bd commit 00c66b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions massa-execution-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["Massa Labs <[email protected]>"]
edition = "2021"

[features]
gas_calibration = ["massa_ledger_exports/testing", "parking_lot", "tempfile"]
testing = ["massa_models/testing", "massa_ledger_exports/testing", "parking_lot", "tempfile", "mockall", "rand"]
gas_calibration = ["tempfile"]
testing = ["massa_models/testing", "tempfile", "mockall", "rand"]

[dependencies]
displaydoc = {workspace = true}
Expand All @@ -22,7 +22,6 @@ massa_time = {workspace = true}
massa_storage = {workspace = true}
massa_final_state = {workspace = true}
massa_pos_exports = {workspace = true}
massa_ledger_exports = {workspace = true, optional = true}
massa_module_cache = {workspace = true}
massa_versioning = {workspace = true}
massa-sc-runtime = {workspace = true}
Expand Down
2 changes: 0 additions & 2 deletions massa-execution-exports/src/test_exports/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
//! with an execution worker within tests.
mod config;
mod mock;
mod tools;

pub use config::*;
pub use mock::*;
pub use tools::*;
4 changes: 1 addition & 3 deletions massa-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage = "https://massa.net"
documentation = "https://docs.massa.net/"

[features]
testing = ["dep:mockall", "dep:num", "dep:massa_channel"]
testing = []

[dependencies]
# Internal packages
Expand Down Expand Up @@ -55,7 +55,5 @@ tracing = { workspace = true }
massa_bootstrap = { workspace = true, "features" = ["testing"] }
massa_consensus_exports = { workspace = true, "features" = ["testing"] }
massa_final_state = { workspace = true }
mockall = { workspace = true }
num = { workspace = true }
tokio = { workspace = true, "features" = ["test-util", "time"] }
num = {workspace = true}
5 changes: 3 additions & 2 deletions massa-grpc/src/tests/stream.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// Copyright (c) 2023 MASSA LABS <[email protected]>

use crate::tests::mock::{grpc_public_service, MockExecutionCtrl, MockPoolCtrl};
use crate::tests::mock::grpc_public_service;
use massa_bootstrap::test_exports::{
get_dummy_block_id, get_random_async_pool_changes, get_random_executed_de_changes,
get_random_executed_ops_changes, get_random_execution_trail_hash_change,
get_random_ledger_changes,
};
use massa_consensus_exports::test_exports::MockConsensusControllerImpl;
use massa_consensus_exports::MockConsensusController;
use massa_execution_exports::MockExecutionController;
use massa_execution_exports::{
test_exports::get_random_eventstore, ExecutionOutput, SlotExecutionOutput,
};
Expand Down

0 comments on commit 00c66b8

Please sign in to comment.