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:
New type FeeInfos is added to state.rs, and most code updates occur there.
BlockHeader is updated to use FeeInfos in headers.rs
Wrap
Vec<FeeInfo>
in a new type so we can implement things likeCommittable
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:
FeeInfos
is added tostate.rs
, and most code updates occur there.FeeInfos
inheaders.rs