Releases: 0xSpaceShard/starknet-hardhat-plugin
Releases · 0xSpaceShard/starknet-hardhat-plugin
v0.3.4
v0.3.3
What's Changed
Usage
- Have an Alpha Mainnet config entry the same way Alpha Testnet is present (i.e.
alpha
andalphaMainnet
are available without defining in your hardhat config file; it was a bit late when it was realized thatalphaMainnet
is not the best choice, and future versions will havealpha-mainnet
by default). - Use cairo-lang v0.6.1 by default.
- When waiting for transactions to become
PENDING
, also check for theirblock_hash
to become NOTpending
.
Dev
- Update packages.
- Fix
with-sources-path
test.
Full Changelog: v0.3.2...v0.3.3
v0.3.2
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 ofany
).
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
What's Changed
Usage
- Make Alpha testnet v4 and cairo-lang v0.6.0 the default options.
- Support accessing
--starknet-network
ofstarknet-deploy
task throughhre.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
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'sfelt
type might be too big for ordinary JSNumber
. - 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
Dev
- Update dependencies.
- Tests in CI are set to use branch
plugin
instarknet-hardhat-example
.
Full Changelog: v0.2.7...v0.3.0
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
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