FuelLabs/fuel-core

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

Open

#2,961 opened on Apr 21, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (57,084 stars) (2,861 forks)batch import
good first issuetech-debt

Description

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.

Contributor guide

Verify prev block root in the executor and not only in the importer · FuelLabs/fuel-core#2961 | Good First Issue