FuelLabs/fuel-core

WASM block production can fail if new `fuel-core` supports new types of transactions

Open

#2.679 geöffnet am 7. Feb. 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.861 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (57.084 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8h 53m) (1 gemergte PR in 30 T)

Beschreibung

If we add new types like BlockV2 or a new type of transaction, the old WASM code can't deserialize them.

The current WASM executor will ruin the whole block during production if one of the transactions is new.

We must teach the WASM executor to deserialize transactions individually and discard unserializable transactions.

Contributor Guide