This is done in 2 transactions. First transaction decreases the weights, temporarily making transactions cheaper. And the second transaction increases the cost.
Both transactions together essentially have no effect on the price of transaction, but allow for 5 times longer transactions with the same computation limit.
Context
In accordance with Flip https://github.com/onflow/flips/blob/main/governance/20240508-computation-limit-hike.md the execution effort weights should be reduced five times and execution effort cost increased five times.
This is done in 2 transactions. First transaction decreases the weights, temporarily making transactions cheaper. And the second transaction increases the cost.
Both transactions together essentially have no effect on the price of transaction, but allow for 5 times longer transactions with the same computation limit.
Transaction 1
Transaction 2