As suggested by KIP9, this PR updates mass calculations to reflect the final proposal wherever possible. This includes:
Applying a maximum over stoarge_mass and compute_mass rather than summing them
Using the relaxed formula for the cases |O| = 1 OR |O| <= |I| <= 2
The updates are applied on mainnet and TN10 on the mempool level. TN11 requires a hard-fork for this update and remains unchanged for now also on the mempool level (since the new rules are more permissive)
As suggested by KIP9, this PR updates mass calculations to reflect the final proposal wherever possible. This includes:
stoarge_mass
andcompute_mass
rather than summing them|O| = 1 OR |O| <= |I| <= 2
The updates are applied on mainnet and TN10 on the mempool level. TN11 requires a hard-fork for this update and remains unchanged for now also on the mempool level (since the new rules are more permissive)