v0.3.4
Highlights
New Cairo compiler versions
The built-in compiler versions have been changed to v2.6.4 and v2.7.1.
Support for JSON-RPC-formatted classes
Previously, to redeclare a class one must fetch the class with the --parse
flag to convert the over-the-wire class format to the one from compiler output. The same goes for calculating class hashes with class-hash
.
Users can now directly declare or compute class hashes for these wire-format classes. This now works:
starkli class-by-hash --network sepolia SOME_CLASS_HASH_HERE > class.json
starkli declare --network mainnet ./class.json
without having to use --parse
on the class-by-hash
command.
Custom OpenZeppelin account class hash
It's now possible to supply a custom account class hash when initializing an OZ account:
starkli account oz init --class-hash xxxx
Caution
This is a feature for advanced users. Starkli currently does not support fetching accounts with custom class hashes.
starkliup
improvements
Since the last release, several improvements have been made on starkliup
, including proper support for Fish shell. These changes are continuously deployed, so they have been available before this release was cut.
Full changes
Features
- 689d03f: upgrade cairo compiler to 2.7.1
- 56e044b: hashing and declaring jsonrpc-formatted classes
- 0e9b706: custom OZ account class hash
- e2210b1: upgrade cairo compiler to 2.6.4 and 2.7.0
- 56fcee1: support new Argent contract class hash (#92)
Fixed
- c730f64: starkliup: incorrect
zsh
detection withSHELL
- 950b63e: starkliup: env script POSIX compliance
- bb2bc2c: starkliup: support Fish shell
Misc
- 7fef2a7: chore: bump
time
dependency version
Full Changelog: v0.3.3...v0.3.4