v0.9.1
Pre-release
Pre-release
StarkNet:
- API changes:
- Add
get_block_traces
API - returns all the transaction traces of a given block - Add a list of declared contracts in
get_state_update
- Add a
0x
prefix for class hash in the API - Add
starknet_version
field for blocks (only applies to new blocks)
- Add
- StarkNet CLI:
- Change the default block number to
pending
- Using a wallet is the default,
--no_wallet
must be specified explicitly to override this - Deploying contracts:
- Add
deploy_contract
function to the account contract created bystarknet deploy_account
- Use this function to deploy contract (unless using
--no_wallet
). In particular, deploy should be used after declaring the contract (it expects the contract class hash)
- Add
- Support
--dry_run
to get the transaction information without signing or sending it
- Change the default block number to
- Support
deploy_from_zero
in the deploy syscall to deploy a contract to an address that does not depend on the deployer
Cairo:
- Support
and
inif
statements (if x == y and z == w
). Note that at the moment other boolean combinations are not supported