Skip to content

Commit

Permalink
Fix activation delay (#4098)
Browse files Browse the repository at this point in the history
* Add nasm to cd.

* change sub to saturating ubub

* Update to activation delay of 40 cycles

---------

Co-authored-by: Damir Vodenicarevic <damipator@gmail.com>
  • Loading branch information
AurelienFT and damip authored Jun 16, 2023
1 parent 3ecedfb commit 7b4bc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ async fn launch(
components: BTreeMap::from([(MipComponent::FinalStateHashKind, 1)]),
start: mip_0002_start,
timeout: mip_0002_timeout,
activation_delay: T0.saturating_mul(PERIODS_PER_CYCLE.saturating_add(1)),
activation_delay: T0.saturating_mul(PERIODS_PER_CYCLE.saturating_add(1)).saturating_mul(40),
},
MipState::new(mip_0002_defined_start),
),
Expand Down

0 comments on commit 7b4bc9e

Please sign in to comment.