Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Header.fee_info iterable #1626

Closed
wants to merge 1 commit into from
Closed

Make Header.fee_info iterable #1626

wants to merge 1 commit into from

Conversation

tbro
Copy link
Contributor

@tbro tbro commented Jun 19, 2024

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 like
`Committable` over it. Update code where possible to deal with the
structure change. Further changes needed in hotshot (and builder?).
@sveitser
Copy link
Collaborator

sveitser commented Jul 8, 2024

Superseded by #1659

@sveitser sveitser closed this Jul 8, 2024
@Ancient123 Ancient123 deleted the tb/multi-fees-per-block branch August 29, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants