datahaven/operator/runtime/mainnet
Gonza Montiel e079cdc404
fix: 🩹 add mandatory extrinsics to safe mode whitelisted calls (#265)
# Fix: Safe Mode Whitelisted Calls - enable block production

## Problem
The safe mode whitelist was missing critical runtime calls needed for
block production, generating this error:

```
2025-10-29 17:29:48 Proposing failed: Import failed: Extrinsic is not valid: TransactionValidityError::Invalid(InvalidTransaction::BadMandatory)
```

The SafeMode filter needs to include all RuntimeCalls that have
inherents marked as `DispatchClass::Mandatory`, as you can see
[here](bbc435c766/substrate/frame/executive/src/lib.rs (L806)).

If a single inherent is missing the whole block will not be valid,
causing the chain to stall.

## Solution
Bisect all the calls to find the culprit, until find it was the pallet
Randomness. I included it in `SafeModeWhitelistedCalls` and blocks are
being produced in SafeMode.
2025-10-30 08:38:18 +00:00
..
src fix: 🩹 add mandatory extrinsics to safe mode whitelisted calls (#265) 2025-10-30 08:38:18 +00:00
tests feat: Implement dynamic fee adjustment (#251) 2025-10-28 10:06:45 +00:00
build.rs feat: Standardize currency system to HAVE token with Wei-based units (#130) 2025-08-18 13:26:30 +02:00
Cargo.toml feat: add slashing support (#242) 2025-10-29 10:43:55 +00:00