Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Update ch03-01-02-fee-mechanism.md (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout authored May 12, 2024
1 parent 98b259b commit 5a0138a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/ch03-01-02-fee-mechanism.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,4 @@ The fee is determined by the most restrictive component and is calculated as:
maxk[CairoResourceUsagek * CairoResourceFeeWeightsk]
```

Where "k" denotes the Cairo resource elements, encompassing step numbers and built-ins. The weightings for these components are:

| Component | Gas Cost | Range |
| ----------- | -------------- | --------------- |
| Cairo Step | 0.01 gwei/gas | per step |
| Pedersen | 0.32 gwei/gas | per application |
| Poseidon | 0.32 gwei/gas | per application |
| Range Check | 0.16 gwei/gas | per application |
| ECDSA | 20.48 gwei/gas | per application |
| Keccak | 20.48 gwei/gas | per application |
| Bitwise | 0.64 gwei/gas | per application |
| EC_OP | 10.24 gwei/gas | per application |
Where "k" denotes the Cairo resource elements, encompassing step numbers and built-ins. The weightings for these components can be found [here.](https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/fee-mechanism/#gas_cost_per_cairo_step_or_builtin_step)

0 comments on commit 5a0138a

Please sign in to comment.