Skip to content

Commit 0f7fe1f

Browse files
committed
update zkEVM - fix equation rendering
1 parent 17a0150 commit 0f7fe1f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ 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 lower than the final 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,
5050

@@ -53,7 +53,7 @@ This presents 2 scenarios and their corresponding consequences:
5353
$$
5454

5555
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.
56-
56+
5757
### Effective percentage
5858

5959
The last parameter called the $\texttt{EffectivePercentage}$ is used to measure the unused portion of the user's signed gas price.

0 commit comments

Comments
 (0)