My understand in substrate is that there are three types of dispatches, normal, operational, and mandatory.
This types of dispatch classes can consume a portion of the total weight in a block.
I can use AvailableBlockRatio
to set the percentage that normal transactions can consume in a block.
Is there a way to extend that functionality. I want to limit the amount of weight an extrinsic can consume in a block.
I would like to further divide the allocated weight for normal dispatch classes.
For example, when attempting to add a transaction in a block, if the weight limit allocated for that transaction has been reached the transaction get added back into the transaction pool.