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
- Now called
- Fix deploying contracts with empty constructors.
- Remove
--starknet-network
CLI option fromhardhat 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 ofstarknet
inhardhat.config
.
- There are issues with overriding hardhat tasks and introducing new CLI options - however
- Return tx hash on
StarknetContract.invoke
.
Dev specific changes
- Introduce PR template.
- Simplify constructor args handling.
- Improve constructor testing.
Merged PRs
- Automatic account artifacts fetching by @dribeiro-ShardLabs in #72
- Returning tx hash on invoke by @dribeiro-ShardLabs in #73
- Fix starknet-network specifying with hh run by @FabijanC in #74
- Fix empty constructor by @FabijanC in #75
- Rename deployAccountFromABI to deployAccount by @FabijanC in #76
Full Changelog: v0.4.3...v0.5.0