github starkware-libs/cairo-lang v0.11.1a0

latest releases: v0.13.1, v0.13.1a0, v0.13.0...
pre-release14 months ago

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
  • 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.
    • Split deploy() to two phases declare and deploy: deprecated_declare() (for Cairo 0 contract) or declare() (for Cairo 1.0 contracts) and deploy() (for both)
  • 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 include blockHash

Other changes:

  • Change build system from CMake to bazel

Don't miss a new cairo-lang release

NewReleases is sending notifications on new releases.