This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
v0.5.0a0
Pre-release
Pre-release
Usage related changes
- No longer supporting Python 3.8 (requirement of cairo-lang)
- Adapted to Starknet 0.11 (cairo-lang 0.11.0.1):
- Supporting declare v2 transactions
- Recompiling cairo 1.0 classes with compiler v1.0.0-alpha.6
- Supporting only x86 architecture (e.g. arm/m1 not supported)
- Supporting class replacement (
replace_class
) - Enforcing L1->L2 message fees
- Updated
get_class_by_hash
- Returning sierra for cairo 1 and old contrat class for cairo 0 classes
- Supporting
get_compiled_class_by_class_hash
- JSON-RPC support not modified (still using v0.2.1)
- Supporting declare v2 transactions
- Temporarily suspended Rust VM support
- Number of retries in forking is now configurable:
starknet-devnet --fork-retries <N>
/create_block
endpoint is unified with/create_block_on_demand
- Now
/create_block
returns only block hash
- Now
- Transactions with max_fee set to zero are no longer supported by default
- Support them with
starknet-devnet --allow-max-fee-zero
- Support them with
- Improved hash validation (blocks and transactions)
- Time manipulation no longer requires manual block creation
- Getting blocks and traces fixed in forked mode
Development related changes
- Python 3.8 no longer in circleci workflow
- Introduced common parent class of predeployed contracts
Merged PRs
- Invoke transaction with max fee=0 are not supported by default by @ptisserand in #392
- Unification of create_block_on_demand() to create_block() by @mikiw in #404
- Improve validation of block hash and transaction hash by @mikiw in #409
- Change "StarkNet" to "Starknet" by @Hug0x0 in #411
- Make number of retries in forking configurable by @bigherc18 in #410
- increase/set time block creation by @mikiw in #416
- Refactor predeployed contract wrapper classes by @bigherc18 in #414
- Fix get block and get traces in fork mode by @mikiw in #419
- Adapt to starknet 0.11.0 by @FabijanC in #415
New Contributors
- @bigherc18 made their first contribution in #410
Full Changelog: v0.4.6...v0.5.0a0