namada
namada copied to clipboard
Implement `BlockSpaceAllocator` state machine
Separated from #774
Allocate space for the different TxBin instances depending on the current phase of a type-level state machine. This will be useful to allow, e.g. decrypted txs to use as much space as needed, or to disallow including user encrypted txs in blocks when space is a critical resource needed for protocol level txs.
Unit tests will be added in a new PR, to simplify the review process.
The PRs are in draft
@james-chf yeah I set them all to draft PRs, since the top priority right now is getting rid of digests. then these PRs will be based on those changes