Usage related changes
- Introduced timestamp manipulation functions (Devnet only):
starknet.devnet.setTime(1000)
starknet.devnet.increaseTime(500)
- Added support for named tuples, nested tuples and type aliases as function arguments.
- Adapted to cairo-lang/starknet 0.9.0:
- Introduced the
declare
method to theStarknetFactory
class:const classHash = await contractFactory.declare()
- Introduced the
- Updated the Argent account version used (v0.2.2):
- BREAKING CHANGES:
- Guardian not used by default anymore (it's set to 0).
- Initialization with a fundedAccount required after deployment:
const acc = <ArgentAccount> await starknet.deployAccount("Argent")
await acc.initialize({ fundedAccount, maxFee })
- Useful scripts:
deploy-argent.ts
- deploy and initialize an Argent account.transfer-funds.ts
- transfer funds from one account to another.
- BREAKING CHANGES:
- Updated the OpenZeppelin account version used (OZ commit b27101eb8).
- Automatically fetching
-arm
docker images on arm64 computers. - Fixed support for interaction with Devnet on WSL and mac when used with the dockerizedVersion of the plugin.
- Adapted to the new Voyager verification API.
- Added support for relative paths as arguments to
getContractFactory
. integrated-devnet
- docs:- Not marked as experimental anymore.
- Added
args
property tointegratedDevnet
hardhat config definition to allow passing Devnet CLI arguments (e.g.--lite-mode
).
Development related changes
- Reduced amount of tests done on alpha-goerli.
- Using sleep-check-loop in devnet tests.
- This version was not published to npm via CircleCI because the network (alpha-goerli) was too slow - that's why if one observes CI information they might see the workflow having failed and the npm-publish task never having been executed.
Merged PRs
- Time manipulation functions by @Nathan-SL in #114
- Add time manipulation test by @Nathan-SL in #115
- Removed unused argument by @taco-paco in #119
- Adapt to new Voyager verification API by @Nathan-SL in #120
- Arm docker image by @Nathan-SL in #123
- Relative artifacts by @taco-paco in #118
- Use sleep-check loop on integrated-devnet startup by @FabijanC in #126
- Support named tuples, nested tuples and type aliases by @taco-paco in #128
- Adapt to cairo-lang 0.9.0 by @FabijanC in #124
- Support optional arguments on Integrated-devnet by @Nathan-SL in #122
New Contributors
- @taco-paco made their first contribution in #119
Full Changelog: v0.5.5...v0.6.0