Breaking usage changes:
account.declare(...)
now returns hash of declaration transactioncontract_address
on transaction object fromstarknet.getTransaction(txHash)
changed tosender_address
- Devnet interaction (compatibility with v0.5.0a1):
devnet.createBlock(...)
no longer returnsBlock
but an object withclass_hash
devnet.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-cairo1
works 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