This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
Only consider fees of MAX_TXS_PER_COMMIT txns when prioritizing what to pack #628
Labels
client
This PR is about implementing the client
Milestone
See #621 (comment)
Problem
Currently, when determining the next token to pack, the value of all pending tokens in a queue is considered even though only 32 (
MAX_TXS_PER_COMMIT
) of them will e packed into a commitment https://github.com/thehubbleproject/hubble-contracts/blob/master/ts/client/txPool.ts#L156-L158Solution
MAX_TXS_PER_COMMIT
) txns for a token with the highest fees when considering what to pack.feeReceivers
to have a container class as well Multi Token Pool #621 (comment)The text was updated successfully, but these errors were encountered: