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

pre-release13 months ago

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

Usage related changes

  • hardhat starknet-build adapted to Scarb 0.7.0 (Cairo 2.2.0)
  • hardhat starknet-compile improved:
    • Simply specify semver of the desired Cairo compiler in hardhat config under compilerVersion
      • E.g. compilerVersion: "2.2.0"
    • Compiler downloaded automatically if on linux-amd64 or mac-arm64, otherwise check out cairo1BinDir
    • Removed the constraint of having venv specified when using cairo1BinDir
  • Simplified Cairo 0 compilation docs
    • If you have docker CLI and want to use the latest Cairo 0 compiler, you're good to go; otherwise check the docs
  • Integrated-devnet defaults to the latest starknet-devnet (v0.6.3)
  • Removed cairo-migrate CLI command
    • Old obsolete command for migrating between old Cairo 0 versions

Development related changes

  • Supported full image specification for dockerized integrated-devnet
    • Allows specifying Devnet in Rust: dockerizedVersion: "shardlabs/starknet-devnet-rs:<TAG>"
    • Not yet fully useful as Devnet in Rust only provides JSON-RPC API, and this plugin does not yet fully rely on it.

Merged PRs

Full Changelog: v0.8.0-alpha.4...v0.8.0-alpha.5

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

NewReleases is sending notifications on new releases.