Skip to content

Commit

Permalink
Extra rustdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Sep 26, 2023
1 parent 7c207a9 commit 1952732
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/dynamic-evm-base-fee/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
//! --> recommended _v_ value: 0.000_015
//! --> largest 's' delta: (1 - 0.25) = **0.75**
//!
//! (for variable explanation please check the linked forum post above)
//! (in short: `v` - variability factor, `s` - current block fill ratio, `s*` - ideal block fill ratio)
//!
//! adj = 0.000015 * (1 - 0.25) = **0.000_011_25**
//! (1 + 0.000_011_25 + 0.000_011_25^2/2) = (1 + 0.000_011_25 + 0.000_000_000_063_281) = **1,000_011_250_063_281**
//!
Expand Down

0 comments on commit 1952732

Please sign in to comment.