Skip to content

v0.9.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@liorgold2 liorgold2 released this 20 Jul 09:26
· 42 commits to master since this 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)
  • 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 by starknet 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)
    • Support --dry_run to get the transaction information without signing or sending it
  • 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 in if statements (if x == y and z == w). Note that at the moment other boolean combinations are not supported