doc: expand runtime.adoc with gas tokens, builtins, and cairo-native#9768
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
c776937 to
ba93d10
Compare
PR SummaryLow Risk Overview Clarifies Starknet gas accounting by explicitly listing tracked token types and describing static gas cost computation and Reviewed by Cursor Bugbot for commit 39df217. Bugbot is set up for automated code reviews on this repo. Configure here. |
orizi
left a comment
There was a problem hiding this comment.
@orizi reviewed all commit messages and made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on eytan-starkware and TomerStarkware).
docs/reference/src/components/cairo/modules/language_semantics/pages/runtime.adoc line 73 at r2 (raw file):
- **Blake** — Blake2s hash computation - **RangeCheck96** — 96-bit range checking (used by circuit operations) - **AddMod**, **MulMod** — modular arithmetic for circuit builtins
Suggestion:
- **RangeCheck** — validates that values fall within a given range (used by integer operations)
- **Pedersen** — Pedersen hash computation
- **Poseidon** — Poseidon hash computation
- **Bitwise** — bitwise AND, OR, XOR operations
- **EcOp** — elliptic curve point operations
- **Blake** — Blake2s hash computation
- **RangeCheck96** — 96-bit range checking (used by circuit operations)
- **AddMod**, **MulMod** — modular arithmetic for circuit builtinsba93d10 to
39df217
Compare
eytan-starkware
left a comment
There was a problem hiding this comment.
@eytan-starkware made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on orizi and TomerStarkware).
docs/reference/src/components/cairo/modules/language_semantics/pages/runtime.adoc line 73 at r2 (raw file):
- **Blake** — Blake2s hash computation - **RangeCheck96** — 96-bit range checking (used by circuit operations) - **AddMod**, **MulMod** — modular arithmetic for circuit builtins
Done.
orizi
left a comment
There was a problem hiding this comment.
@orizi reviewed all commit messages and made 1 comment.
Reviewable status: 0 of 1 files reviewed, 2 unresolved discussions (waiting on eytan-starkware and TomerStarkware).
docs/reference/src/components/cairo/modules/language_semantics/pages/runtime.adoc line 70 at r3 (raw file):
- **Bitwise** — bitwise AND, OR, XOR operations - **EcOp** — elliptic curve point operations - **Blake** — Blake2s compression function
blake is an opcode extension - not a builtin.

No description provided.