v0.5.0
Pre-release
Pre-release
StarkNet
- Contract constructors
- Identify transactions by their hash (replacing transaction id)
storage_ptr
was merged intosyscall_ptr
(you should now usesyscall_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