SORU: EVM: fix a decoding bug

Context

RLP encoding delete leading 0, which means that decoding an H256 fails if it began with 0 before encoding. This MR fixes that.

Manually testing the MR

cargo test signatures::test::test_decoding_leading0_signature

Checklist

  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Pierre-Emmanuel CORNILLEAU

Merge request reports

Loading