As [mentioned](https://github.com/lambdaclass/ethrex/pull/6475#discussion_r3100669559) in a review, get_block_header currently returns Ok(None) instead of Err(...) for the error conditions. This isn't very clear and may lead to incorrectly interpreting what each return value means.
As mentioned in a review, get_block_header currently returns Ok(None) instead of Err(...) for the error conditions.
This isn't very clear and may lead to incorrectly interpreting what each return value means.