github starkware-libs/cairo-lang v0.5.0

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

StarkNet

  • Contract constructors
  • Identify transactions by their hash (replacing transaction id)
  • storage_ptr was merged into syscall_ptr (you should now use syscall_ptr to access storage)
  • Separate signature information from the transaction calldata
  • Change the way contract addresses are computed
  • Support arrays in return values of external functions
  • Local testing infrastructure:
    • Support passing structs
    • Allow specifying caller address
    • Support L1<->L2 messages
    • Expose the transaction's required resources
  • Technical modifications:
    • Data availability format includes constructor arguments
    • The format of the contract definition hash has changed
    • Add L1 events when L1<->L2 messages are consumed

Cairo

  • Improve compilation time
  • Add a syntax for short strings (strings that fits into a single felt)
  • Remove the python literal syntax (%[ ... %]) to allow safer compilation

Don't miss a new cairo-lang release

NewReleases is sending notifications on new releases.