v0.11.1a0
Pre-release
Pre-release
Starknet:
- Upgrade Cairo 1.0 version to
v1.0.0-rc0
- Charged transaction fee is now based on an average Ethereum gas price instead of a single sample (estimation API is unaffected)
- API changes:
- Remove the state root in
get_state_update
for pending blocks to allow faster responses in future versions
- Remove the state root in
- Testing framework:
- Allow declaring (and interacting with) Cairo 1.0 contracts.
- Currently, the Cairo 1.0 ABI is not supported yet, so a Cairo 0 ABI should be supplied to
declare()
manually.
- Currently, the Cairo 1.0 ABI is not supported yet, so a Cairo 0 ABI should be supplied to
- Split
deploy()
to two phases declare and deploy:deprecated_declare()
(for Cairo 0 contract) ordeclare()
(for Cairo 1.0 contracts) anddeploy()
(for both)
- Allow declaring (and interacting with) Cairo 1.0 contracts.
- Add current block hash to the Starknet Core contract (currently not verified by the Starknet OS):
- Breaking change: The
LogStateUpdate
event's data is changed to includeblockHash
- Breaking change: The
Other changes:
- Change build system from CMake to bazel