github 0xSpaceShard/starknet-hardhat-plugin v0.5.0

2 years ago

Usage changes

  • Change deployAccountFromABI (breaking):
    • Now called deployAccount
    • First parameter (specifying file name) not needed anymore:
      • Fetching of Account files done automatically - fetches the latest account version compatible with plugin
  • Fix deploying contracts with empty constructors.
  • Remove --starknet-network CLI option from hardhat run:
    • There are issues with overriding hardhat tasks and introducing new CLI options - however hardhat test keeps its --starknet-network option.
    • One might argue that this is a breaking change, but this feature was never available at all because v0.4.3 made deploying in hardhat scripts impossible - this is now fixed.
    • Specifying the network can still be done through the network property of starknet in hardhat.config.
  • Return tx hash on StarknetContract.invoke.

Dev specific changes

  • Introduce PR template.
  • Simplify constructor args handling.
  • Improve constructor testing.

Merged PRs

Full Changelog: v0.4.3...v0.5.0

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

NewReleases is sending notifications on new releases.