v0.2.0-rc.0
Pre-release
Pre-release
Usage related changes
Breaking changes
- If installing Devnet from source or via
cargo install
, Rust version 1.76 is required. - When aborting, blocks can now be specified via any kind of block ID. The specifier is thus changed from
starting_block_hash
tostarting_block_id
. - In
--block-generation-on <PERIOD>
mode, the first block after the genesis block is no longer generated immediately, but after the first period.
New features
- Adapted to the pre-release version of Starknet 0.13.2.
- Improved chain ID handling:
- When forking, the chain ID is automatically set to the origin value.
- The chain ID CLI parameter now supports custom values:
--chain-id <STRING>
- Requests which don't require parameters in their JSON bodies now support omitting the body completely.
- Improved dumping UX:
- Even though dumping on HTTP request was already possible, it required starting Devnet with unintuitive flags. From now on, if you want to dump on-request only, specify
--dump-on request
. - If dumping path not provided, the dump is included in the response body. If using
curl
, you can now easily dump to STDOUT and redirect.
- Even though dumping on HTTP request was already possible, it required starting Devnet with unintuitive flags. From now on, if you want to dump on-request only, specify
Bugfixes
- Fixed loading of dumped Devnet on request.
- Checking casm hash validity on declaration transactions.
- Fixed L2 gas in V3 transactions.
- Supporting minting of large amounts (including scientific notation).
- Execution on the latest block is specifiable via any equivalent block ID, not just
"latest"
. - Fixed values of storage variables of predeployed ERC20 tokens.
- Origin-fork communication logging level changed from
INFO
toDEBUG
, not to mislead users.
Development related changes
- Using self-hosted runner in CI + custom caching
- Fix nightly version used in tests
Merged PRs
- Fix dump loading on request by @FabijanC in #527
- L2 gas fix tx v3 by @mikiw in #528
- Support minting with amount using scientific notation by @FabijanC in #536
- Fix naming: Replace stopImpersonating with stopImpersonate by @FabijanC in #539
- Change log level of origin-fork communication: info->debug by @FabijanC in #537
- Execution on the latest block should be specifiable by number by @mikiw in #538
- docs: feature list in README.md [skip ci] by @ivpavici in #545
- Improve dumping UX by @3alpha in #531
- Fix predeployed ERC20 storage by @FabijanC in #546
- Improve UX by allowing no params for JSON-RPC requests by @marioiordanov in #543
- Fix nightly version in CI by @marioiordanov in #548
- Check casm hash on declaration by @FabijanC in #547
- Abort blocks by ID by @3alpha in #541
- Move CI build and test step to self-hosted runner by @3alpha in #554
- Detect chain id when forking by @marioiordanov in #549
- Add documentation formatting check to CI by @FabijanC in #553
- Block interval improvment by @mikiw in #555
- Fix L1-L2 documentation mistakes by @kkawula in #556
- Add CI cache on self-hosted runner by @3alpha in #559
- Adapt to Starknet 0.13.2 (blockifier 0.8.0-rc.0) by @FabijanC in #557
- Prerelease v0.2.0-rc.0 by @FabijanC in #563
New Contributors
Full Changelog: v0.1.2...v0.2.0-rc.0