diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 680d261af63..f0a3c064e1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,7 +205,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: install - args: cargo-nextest + args: cargo-nextest --locked - uses: actions-rs/cargo@v1 with: command: nextest diff --git a/massa-execution-worker/src/active_history.rs b/massa-execution-worker/src/active_history.rs index 1b4c41ebb6b..021e8e8a97d 100644 --- a/massa-execution-worker/src/active_history.rs +++ b/massa-execution-worker/src/active_history.rs @@ -250,7 +250,7 @@ impl ActiveHistory { return SlotIndexPosition::Past; // too old } let index: usize = match slot.slots_since(first_slot, thread_count) { - Err(_) => return SlotIndexPosition::Future, // overflow + Err(_) => return SlotIndexPosition::Past, // overflow Ok(d) => { match d.try_into() { Ok(d) => d,