Skip to content

Commit aaf72eb

Browse files
committed
update zkEVM - fix equation rendering
1 parent ff4a87a commit aaf72eb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/zkEVM/architecture/effective-gas/tx-prioritization-egp.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ The deviation percentage is compared to a parameter called $\texttt{FinalDeviati
3737
This presents 2 scenarios and their corresponding consequences:
3838

3939
1. If the percentage deviation is higher than the fixed deviation parameter,
40-
41-
$$
42-
\frac{|\texttt{NEGP} − \texttt{EEGP}|}{\texttt{EEGP}} \cdot 100 < \texttt{FinalDeviationParameter} = 10,
43-
$$
44-
45-
it indicates that there is minimal distinction between charging the user with $\texttt{NEGP}$ compared to $\texttt{EEGP}$.
46-
47-
Despite potential losses to the network, the user gets charged the $\texttt{EEGP}$ amount as the gas price.
40+
41+
$$
42+
\frac{|\texttt{NEGP} − \texttt{EEGP}|}{\texttt{EEGP}} \cdot 100 < \texttt{FinalDeviationParameter} = 10,
43+
$$
44+
45+
it indicates that there is minimal distinction between charging the user with $\texttt{NEGP}$ compared to $\texttt{EEGP}$.
46+
47+
Despite potential losses to the network, the user gets charged the $\texttt{EEGP}$ amount as the gas price.
4848

4949
2. On the contrary, if the percentage deviation equals or exceeds the deviation parameter,
50-
51-
$$
52-
\frac{|\texttt{NEGP} − \texttt{EEGP}|}{\texttt{EEGP}} \cdot 100 ≥ \texttt{FinalDeviationParameter} = 10,
53-
$$
54-
55-
the difference between executions can be so big it warrants adjustment of the gas price to be $\texttt{NEGP}$​, and thus mitigate for potential losses to the network.
50+
51+
$$
52+
\frac{|\texttt{NEGP} − \texttt{EEGP}|}{\texttt{EEGP}} \cdot 100 ≥ \texttt{FinalDeviationParameter} = 10,
53+
$$
54+
55+
the difference between executions can be so big it warrants adjustment of the gas price to be $\texttt{NEGP}$​, and thus mitigate for potential losses to the network.
5656

5757
### Effective percentage
5858

0 commit comments

Comments
 (0)