Skip to content

Commit

Permalink
Fix deferred_call_changes in active history + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Dec 17, 2024
1 parent 1629e6a commit deef41e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions massa-execution-worker/src/active_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ mod test {
executed_ops_changes: Default::default(),
executed_denunciations_changes: Default::default(),
execution_trail_hash_change: Default::default(),
deferred_call_changes: Default::default(),
};
let state_changes_2 = StateChanges {
ledger_changes: Default::default(),
Expand All @@ -454,7 +453,6 @@ mod test {
executed_ops_changes: Default::default(),
executed_denunciations_changes: Default::default(),
execution_trail_hash_change: Default::default(),
deferred_call_changes: Default::default(),
};

let exec_output_1 = ExecutionOutput {
Expand Down
2 changes: 1 addition & 1 deletion massa-module-cache/src/hd_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl HDCache {
/// * path: where to store the db
/// * max_entry_count: maximum number of entries we want to keep in the db
/// * amount_to_remove: how many entries are removed when `entry_count` reaches `max_entry_count`
///
///
/// Note: entry_count refers to the number of modules stored in the db, which is half the number of (key, value) pairs in the db
pub fn new(path: PathBuf, max_entry_count: usize, snip_amount: usize) -> Self {
let mut db = DB::open_default(path.clone()).expect(OPEN_ERROR);
Expand Down

0 comments on commit deef41e

Please sign in to comment.