Skip to content

Commit

Permalink
Update fee-mechanism.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
LandauRaz authored Mar 3, 2025
1 parent 8176c71 commit f9bb1a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ where:

* stem:[$v$] is a vector that represents resource usage, where each of its entries, stem:[$v_k$], corresponds to different resource types: Cairo steps and number of applications of each builtin.
+
For more information see xref:#calculation_of_computation_costs[Calculation of computation costs].
For more information see xref:#computation[].
* stem:[$w$] is the xref:#calculation_of_computation_costs[`CairoResourceFeeWeights`] vector.
* stem:[$\text{sierra_gas_consumed}$] is the amount of xref:#sierra_gas[Sierra gas] charged for computation.
* stem:[$n$] is the number of unique contracts updated, which also includes changes to classes of existing contracts and contract deployments, even if the storage of the newly deployed contract is untouched. In other words, stem:[$n\ge\ell$]. Notice that stem:[$n\ge 1$] always holds, because the fee token contract is always updated, which does not incur any fee.
Expand Down Expand Up @@ -437,4 +437,4 @@ The pricing of the above components in terms of L2 gas is given by the following
[NOTE]
====
When the transaction's L2 cost is paid for by L1 gas, the above numbers are translated via the standard conversion rate of: 1 L1 gas = 40,000 L2_gas
====
====

0 comments on commit f9bb1a2

Please sign in to comment.