thrumdev / blobs

Blobchains on Polkadot and Kusama
https://docs-site-pi.vercel.app
Apache License 2.0
64 stars 8 forks source link

fees: add max skipped blocks constant to pallet #209

Closed gabriele-0201 closed 10 months ago

gabriele-0201 commented 10 months ago

Limit the number of skipped blocks in the fee update mechanism to the expected maximum. This is done to avoid the possibility of incorrectly updating the fee multiplier. For example, if the chain halts and skips more than 10000 blocks, the approximation given by the first n terms of e^x could diverge significantly from the actual value. Therefore, we set a boundary on the number of skipped blocks to ensure the accuracy of the approximation

gabriele-0201 commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

rphmeier commented 10 months ago

Merge activity