v0.8.0-alpha.0
Pre-release
Pre-release
·
57 commits
to master
since this release
Breaking usage changes:
account.declare(...)now returns hash of declaration transactioncontract_addresson transaction object fromstarknet.getTransaction(txHash)changed tosender_address- Devnet interaction (compatibility with v0.5.0a1):
devnet.createBlock(...)no longer returnsBlockbut an object withclass_hashdevnet.sendMessageToL2(...)expects new argumentpaidFeeOnL1- response of
devnet.setTime(...)anddevnet.increaseTime(...)updated
Compatibility with Starknet 0.11.0.1
- CLI commands:
- new:
npx hardhat starknet-compile-cairo1works with Cairo 1 - old:
hardhat starknet-compile- works with Cairo 0.X contracts
- new:
account.declare(...):- automatically recognizes whether to send declare v2 or v1
- Limited support for interaction with deployed Cairo 1 contracts
- no support for boolean (upcoming)
Other usage related changes
- Improved Docker Desktop support
- Improved error message on failing fee estimation
Merged PRs
- Docker Desktop support by @notV4l in #327
- Add error handling for sendEstimateFeeTx by @notV4l in #330
- Declare return tx hash by @TsBauer in #332
- Adapt to starknet 0.11.0 by @Nathan-SL in #328
Full Changelog: v0.7.3...v0.8.0-alpha.0