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

2 years ago

Usage

  • Expand tilde (~) to homedir in venv path.
  • Add Docker issue fix to Readme.
  • BREAKING changes:
    • Rename string utility functions to reflect their real purpose (functionality stays the same, the name changes):
      • stringToBigInt -> shortStringToBigInt
      • bigIntToString -> bigIntToShortString
    • Change the expected config file structure (check here for an example):
      • Use starknet key.
      • Stop using cairo key:
        • Rename version to dockerizedVersion:
          • Because the version key affected and affects only the Docker image used (if user opts for dockerized mode).
      • Move wallets key to starknet.
      • Rename starknetNetwork to network and move it from mocha to starknet:
        • This is because the network wasn't just mocha specific but could be used in any Hardhat script.
    • Use options object in StarknetContract methods instead of using optional function arguments; e.g.:
      • OLD: StarknetContract.call(functionName: string, args?: StringMap, signature?: Array<Numeric>, wallet?: Wallet, blockNumber?: string)
      • NEW: StarknetContract.call(functionName: string, args?: StringMap, options: CallOptions = {})

Dev

  • No dev-specific changes to list.

Merged PRs

Full Changelog: v0.3.11...v0.4.0

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

NewReleases is sending notifications on new releases.