Skip to content

Commit 3bc68a7

Browse files
bors[bot]Your Name
andauthored
Merge #2149
2149: Execution: use assembly-simulator bytecode type r=adrien-zinger a=gterzian Close #2138 Co-authored-by: Your Name <you@example.com>
2 parents 9f5d89a + c5004c9 commit 3bc68a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

massa-execution/src/sce_ledger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use crate::types::Bytecode;
21
use crate::ExecutionError;
2+
use assembly_simulator::Bytecode;
33
use massa_hash::hash::Hash;
44
use massa_hash::HASH_SIZE_BYTES;
55
use massa_models::hhasher::BuildHHasher;

massa-execution/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use crate::sce_ledger::{FinalLedger, SCELedger, SCELedgerChanges, SCELedgerStep};
22
use crate::BootstrapExecutionState;
3+
use assembly_simulator::Bytecode;
34
use massa_models::address::AddressHashSet;
45
use massa_models::execution::ExecuteReadOnlyResponse;
56
/// Define types used while executing block bytecodes
@@ -9,7 +10,6 @@ use std::{collections::VecDeque, sync::Arc};
910
use tokio::sync::oneshot;
1011

1112
pub(crate) type StepHistory = VecDeque<StepHistoryItem>;
12-
pub type Bytecode = Vec<u8>;
1313

1414
/// A StepHistory item representing the consequences of a given execution step
1515
#[derive(Debug, Clone)]

0 commit comments

Comments
 (0)