Usage related changes
- Fixed error logging (removed duplication and improved newline display)
- integrated-devnet changes:
- Fixed error and exit handling
- Using starknet-devnet v0.2.5 by default
- Updated used OpenZeppelin account artifacts to v0.2.0
- Supported event decoding (example):
const txHash = await contract.invoke("increase_balance", { amount: 10 });
const receipt = await starknet.getTransactionReceipt(txHash);
const decodedEvents = contract.decodeEvents(receipt.events);
// decodedEvents contains hex data array converted to a structured object
// { name: "increase_balance_called", data: { current_balance: 0n, amount: 10n } }
- Supported devnet-specific client utility functions:
hardhat.starknet.devnet.load
- load a devnet instance via HTTPhardhat.starknet.devnet.dump
- dump a devnet instance via HTTPhardhat.starknet.devnet.getPredeployedAccounts
- get accounts predeployed on Devnet
Development related changes
- Updated development docs
Merged PRs
- Minor fix to Readme by @charlietilt in #129
- Support dump and load endpoints by @Nathan-SL in #134
- Add decodeEvents function by @qperrot in #130
- Add get-predeployed-accounts function by @qperrot in #125
- Fix exiting in integrated-devnet by @FabijanC in #132
- Update OpenZeppelin account artifacts to v0.2.0 by @FabijanC in #139
- Fix logging by @FabijanC in #138
New Contributors
- @charlietilt made their first contribution in #129
- @qperrot made their first contribution in #130
Full Changelog: v0.6.0...v0.6.1