FuelLabs/fuel-core

Verify prev block root in the executor and not only in the importer

Open

#2961 aperta il 21 apr 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2861 fork)batch import
good first issuetech-debt

Metriche repository

Star
 (57.084 star)
Metriche merge PR
 (Merge medio 8h 53m) (1 PR mergiata in 30 g)

Descrizione

https://github.com/FuelLabs/fuel-core/blob/926b50bcb70ecf3f5ba6acc984a01d4be16bb1c4/crates/services/consensus_module/src/block_verifier.rs#L52-L73

defines the verify_block_fields function that is ran whenever a block is imported by a validator/node. We want to include this verification in the executor as well.

Guida contributor