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

latest releases: v0.8.0-alpha.5, v0.8.0-alpha.4
pre-release16 months ago

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

Usage related changes

  • New command hardhat starknet-build [--scarb-command <STRING>] [--skip-validate] [...paths]:

    • For building Scarb projects
    • Produces easily loadable artifacts compatible with your hardhat scripts
    • Compatible with Scarb 0.4.0
    • The command hardhat starknet-compile is preserved and serves the compilation of simple single Cairo 1 files
    • Read more in the docs:
    • Check out the example repo:
  • Support for Starknet/cairo-lang 0.11.2

  • Bugfixes:

    • Allowing constructorless Cairo 1 contracts
    • Fixed race condition that appeared when awaiting multiple promises (with Promise.all)
    • Allowing Cairo 1 compilation artifacts of version > 1 (was restricted to 1..)
    • Cairo methods returning arrays are now correctly handled when doing contract.call(...))
      • Was reporting missing type in the ABI

Development related changes

  • Improved testing of:
    • Cairo 1 events (not Cairo 2)
    • Constructor checking

Merged PRs

New Contributors

Full Changelog: v0.8.0-alpha.2...v0.8.0-alpha.3

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

NewReleases is sending notifications on new releases.