Skip to content

v0.2.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@FabijanC FabijanC released this 23 Jul 12:16
· 40 commits to main since this release
9bb05a1

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 to starting_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.

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 to DEBUG, not to mislead users.

Development related changes

  • Using self-hosted runner in CI + custom caching
  • Fix nightly version used in tests

Merged PRs

New Contributors

Full Changelog: v0.1.2...v0.2.0-rc.0