EspressoSystems / espresso-sequencer

86 stars 56 forks source link

Make `Header.fee_info` iterable #1626

Open tbro opened 2 weeks ago

tbro commented 2 weeks ago

Wrap Vec<FeeInfo> in a new type so we can implement things like Committable over it. Update code where possible to deal with the structure change. Further changes needed in hotshot (and builder?).

This PR:

Allows us to have multiple fees per block in order to implement Decaf version of Marketplace. It is an early stage to take comment on general direction.

This PR does not:

Currently compile. Some changes in the traits defined in HotShot will need to be updated before this can be shipped.

Key places to review: