Skip to content

Commit 3cbcbd2

Browse files
authored
Merge pull request 0xPolygon#420 from 0xPolygon/edit-user-fees
Update zkEVM - Edit user fees
2 parents 24426fb + 0f7fe1f commit 3cbcbd2

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ 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,
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 against potential losses to the network.
56-
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.
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)