ethereum / eth-portal

A collection of utilities related to Ethereum's Portal Network
MIT License
6 stars 6 forks source link

[bridge] use sha3Uncles when building header rlp #6

Closed carver closed 2 years ago

carver commented 2 years ago

Was previously grabbing all the uncle headers to generate their rlp-encoding, and making the hash. This is much simpler, and uses fewer hits to the execution client (right now, Infura).

Note that the test is updated by removing the uncleHeaders field that was manually added.

To-Do

No newsfragment required because it fixes something that didn't make it into a release.

Cute Animal Picture

put a cute animal picture link inside the parentheses