Cairo-lang

Latest version: v0.13.1

Safety actively analyzes 634675 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

0.13.0a0

**Starknet**
* Add transaction v3:
* Fee payment in STRK
* Reserved fields for future features, such as volition and payment master
* `get_block` API: Rename the `gas_price` field to `eth_l1_gas_price` and add a new field `strk_l1_gas_price` (this applies to old blocks as well)
* Update Sierra version used in Starknet to `1.4.0` (introduced in crate version `v2.4.0` of the [cairo](https://github.com/starkware-libs/cairo) package)

0.12.3

**Starknet**
* Performance optimizations in the gateway, the computation of the Patricia storage root and block hash
* Support `secp256r1` syscalls in the Starknet OS. Thanks to Braavos for adapting the `secp256k1` code to `secp256r1`!
* Restriction for `__validate__` and the constructor of `DeployAccount` transactions:
* Restrict access to `sequencer_address` in the `get_execution_info` syscall - return zero values
* Restrict access to some syscalls:
* Cairo contracts: `get_block_hash`
* CairoZero contracts: `get_sequencer_address`

**CairoZero**
* Move structs that are common to `secp256k1` and `secp256r1` to a separate file

0.12.3a2

**Starknet**
* Performance optimizations in the gateway, the computation of the Patricia storage root and block hash
* Support `secp256r1` syscalls in the Starknet OS. Thanks to Braavos for adapting the `secp256k1` code to `secp256r1`!
* Restriction for `__validate__` and the constructor of `DeployAccount` transactions:
* Restrict access to `sequencer_address` in the `get_execution_info` syscall - return zero values
* Restrict access to some syscalls:
* Cairo contracts: `get_block_hash`
* CairoZero contracts: `get_sequencer_address`

**CairoZero**
* Move structs that are common to `secp256k1` and `secp256r1` to a separate file

0.12.3a1

**Starknet**
* Performance optimizations in the gateway, the computation of the Patricia storage root and block hash
* Support `secp256r1` syscalls in the Starknet OS. Thanks to Braavos for adapting the `secp256k1` code to `secp256r1`!
* Restriction for `__validate__` and the constructor of `DeployAccount` transactions:
* Restrict access to `sequencer_address` in the `get_execution_info` syscall - return zero values
* Restrict access to some syscalls:
* Cairo contracts: `get_block_hash`
* CairoZero contracts: `get_sequencer_address`

**CairoZero**
* Move structs that are common to `secp256k1` and `secp256r1` to a separate file

0.12.3a0

**Starknet**
* Performance optimizations in the gateway and the computation of the Patricia storage root
* Support `secp256r1` syscalls in the Starknet OS. Thanks to Braavos for adapting the `secp256k1` code to `secp256r1`!
* Restriction for `__validate__` and the constructor of `DeployAccount` transactions:
* Restrict access to `block_number`, `block_timestamp` and `sequencer_address` in the `get_execution_info` syscall - return zero values
* Restrict access to some syscalls:
* Cairo contracts: `get_block_hash`
* CairoZero contracts: `get_block_number`, `get_block_timestamp`, `get_sequencer_address`

**CairoZero**
* Move structs that are common to `secp256k1` and `secp256r1` to a separate file

0.12.2

**Starknet**

* Add sequencer signature on block hash and state diff, using the following API (see [here](https://community.starknet.io/t/introducing-p2p-authentication-and-mismatch-resolution-in-v0-12-2/97993)):
* `get_signature` - returns the signature on the data
* `get_public_key` - returns the public key used to sign blocks
* Increase the maximum number of steps in a single transaction from 1M to 3M
* Add `0x` prefix in the API responses for state roots
* Add an optional parameter to `get_state_update` API - `includeBlock` which adds block information to the response (see [here](https://community.starknet.io/t/introducing-p2p-authentication-and-mismatch-resolution-in-v0-12-2/97993#combined-state-diff-and-block-endpoint-4))
* An improvement to the max throughput

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.