onflow / service-account

2 stars 9 forks source link

[Post-Spork] Change execution effort weights and cost #315

Closed janezpodhostnik closed 1 month ago

janezpodhostnik commented 2 months ago

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