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

Update ch03-01-02-fee-mechanism.md #368

Merged
merged 1 commit into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading