Issue created by aionick (on Monday Nov 26, 2018 at 15:35 GMT)
Blocks, in addition to transactions, also have the concept of an energy limit. The amount of energy 'in' a block is the sum of the amount of energy consumed by each of its transactions, and this sum is bound by the block limit.
Currently nothing is in place to ensure that transactions put into a block do not exceed this limit, and checks for this limit were ignored to simplify things. Now that we have removed the energy scaling we were previously doing we should be able to do the block energy limit checks properly.
Issue created by aionick (on Monday Nov 26, 2018 at 15:35 GMT)
Blocks, in addition to transactions, also have the concept of an energy limit. The amount of energy 'in' a block is the sum of the amount of energy consumed by each of its transactions, and this sum is bound by the block limit.
Currently nothing is in place to ensure that transactions put into a block do not exceed this limit, and checks for this limit were ignored to simplify things. Now that we have removed the energy scaling we were previously doing we should be able to do the block energy limit checks properly.