Skip to main content

palladium_actor/
determinism.rs

1/// Controls the level of determinism enforcement for WASM execution.
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
3pub enum DeterminismLevel {
4    /// NaN canonicalization + fuel tracking always on.
5    Extreme,
6    /// Same as `Extreme` for now; the default.
7    #[default]
8    Strict,
9    /// Disable NaN canonicalization and fuel for trusted production workloads.
10    Relaxed,
11}