github 0xSpaceShard/starknet-hardhat-plugin v0.8.0-alpha.1

pre-release16 months ago

All changes are relative to v0.8.0-alpha.0.

Usage related changes

  • Breaking changes in compilation:
    • Renamed starknet-compile to starknet-compile-deprecated (Cairo 0)
    • Renamed starknet-compile-cairo1 to starknet-compile (Cairo 1)
      • offering the same set of CLI options as the official Cairo 1 compiler interface:
        • --allowed-libfuncs-list-name
        • --allowed-libfuncs-list-file
        • --replace-ids
        • --add-pythonic-hints
    • Specify custom Cairo 1 compiler by providing path to directory holding binaries:
      • ✔️ cairo1BinDir property of starknet object in hardhat config file
      • ✔️ starknet-compile --cairo1-bin-dir <PATH>
      • manifestPath option is no longer valid
  • Better support for Cairo 1 core types (added 1D arrays and boolean; not full type support)
  • Bugfixes in Cairo 1 contract interaction
  • Defaulting to Starknet/cairo-lang 0.11.0.2 (instead of 0.11.0.1)
  • Optionally suppress contract arg validation by setting rawInput when invoking/calling:
    • contract.call("foo", ["10", "20"], { rawInput: true })
  • Moved docs and code repo from Shard-Labs to 0xSpaceShard

Development related changes

  • Better per-test testing with npm test-dev script
  • Updated dependencies (starknet.js)

Merged PRs

New Contributors

Full Changelog: v0.8.0-alpha.0...v0.8.0-alpha.1

Don't miss a new starknet-hardhat-plugin release

NewReleases is sending notifications on new releases.