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

pre-release19 months ago

Breaking usage changes:

  • account.declare(...) now returns hash of declaration transaction
  • contract_address on transaction object from starknet.getTransaction(txHash) changed to sender_address
  • Devnet interaction (compatibility with v0.5.0a1):
    • devnet.createBlock(...) no longer returns Block but an object with class_hash
    • devnet.sendMessageToL2(...) expects new argument paidFeeOnL1
    • response of devnet.setTime(...) and devnet.increaseTime(...) updated

Compatibility with Starknet 0.11.0.1

  • CLI commands:
    • new: npx hardhat starknet-compile-cairo1 works with Cairo 1
    • old: hardhat starknet-compile - works with Cairo 0.X contracts
  • account.declare(...):
    • automatically recognizes whether to send declare v2 or v1
  • Limited support for interaction with deployed Cairo 1 contracts
    • no support for boolean (upcoming)

Other usage related changes

  • Improved Docker Desktop support
  • Improved error message on failing fee estimation

Merged PRs

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

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

NewReleases is sending notifications on new releases.