FuelLabs/fuel-v1-contracts

Separate block header verifier

adlerjohn opened this issue · 1 comments

The block header verifier should be split up into a block header verify and root header verifier, instead of lumping them together.

Verifying roots in this case does need the blockHeader data (to check root existence) so I'd say I'm fine with leaving the existing function as it.

However would could rename the file for consistency to Header.yulp instead of BlockHeader.yulp for clarity.