Skip to content

Releases: 0xSpaceShard/starknet-hardhat-plugin

v0.3.4

03 Dec 12:14
Compare
Choose a tag to compare

What's Changed

  • Support using existing Python virtual environments by @FabijanC in #24. Thanks to @delaaxe for suggesting it in #21.

Full Changelog: v0.3.3...v0.3.4

v0.3.3

30 Nov 16:36
f988894
Compare
Choose a tag to compare

What's Changed

Usage

  • Have an Alpha Mainnet config entry the same way Alpha Testnet is present (i.e. alpha and alphaMainnet are available without defining in your hardhat config file; it was a bit late when it was realized that alphaMainnet is not the best choice, and future versions will have alpha-mainnet by default).
  • Use cairo-lang v0.6.1 by default.
  • When waiting for transactions to become PENDING, also check for their block_hash to become NOT pending.

Dev

  • Update packages.
  • Fix with-sources-path test.

Full Changelog: v0.3.2...v0.3.3

v0.3.2

24 Nov 13:13
12d0ed2
Compare
Choose a tag to compare

What's Changed

Usage

  • Enable passing constructor arguments with starknet-deploy task (--inputs).
  • Fixes in docs and error messages.
  • Improve typing of the object holding invoke/call/deploy arguments (StringMap instead of any).

Dev

  • Improve typing in adapt functions (StringMap - object with string keys).
  • Refactor gateway_url extraction.
  • Update packages.
  • Use more descriptive names in publish script.

Full Changelog: v0.3.1...v0.3.2

v0.3.1

18 Nov 16:02
2944305
Compare
Choose a tag to compare

What's Changed

Usage

  • Make Alpha testnet v4 and cairo-lang v0.6.0 the default options.
  • Support accessing --starknet-network of starknet-deploy task through hre.starknet.network.
  • Fix error log messages.
  • Improve README.md (minor additions and rewording).
  • Bump version to v0.3.1.

Dev

  • Add keywords to package.json.
  • Log commit hash in test.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

15 Nov 12:07
b4e6880
Compare
Choose a tag to compare

What's Changed

Usage

  • Enable passing constructor arguments (possible to pass them when calling deploy of a contract factory).
  • Enable signing transactions.
  • Rely on JS BigInt because Cairo's felt type might be too big for ordinary JS Number.
  • Enforce typed/structured input and output (no more single-string function results; no more blindly passing sequences of numbers as function inputs).
  • Fix Mac (OS X) support (when interacting with gateways listening on localhost, such as the devnet).
  • Bump version to v0.3.0.

Examples

  • Check the examples in the description of #19 and in README.md.

Dev

  • Update dependencies.
  • Tests in CI are set to use branch plugin in starknet-hardhat-example.

Full Changelog: v0.2.7...v0.3.0

v0.2.7

05 Nov 16:12
Compare
Choose a tag to compare

What's Changed

  • Wait for deployment to be pending; check for tx rejection by @FabijanC in #17

Full Changelog: v0.2.6...v0.2.7

v0.2.6

01 Nov 16:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.5...v0.2.6

v0.2.5

01 Nov 16:26
Compare
Choose a tag to compare

What's Changed

(Actually released on Oct 27)

Full Changelog: v0.2.4...v0.2.5

v0.2.4

21 Oct 14:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.3...v0.2.4

v0.2.3

19 Oct 14:58
Compare
Choose a tag to compare

What's Changed

  • Fix deployment to custom network by @FabijanC in #11
  • Fix compilation path specification by @FabijanC in #13:
    • Fixed behavior for contracts importing contracts from the same or neighboring directory (reported by @FilipLaurentiu in #12)
    • Paths with dependency contracts can be specified with a new CLI parameter --cairo-path

Full Changelog: v0.2.2...v0.2.3