github starkware-libs/cairo-lang v0.9.1

latest releases: v0.13.2, v0.13.2a0, v0.13.1...
pre-release2 years ago

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

Don't miss a new cairo-lang release

NewReleases is sending notifications on new releases.