Skip to content

Releases: 0xSpaceShard/starknet-devnet-rs

v0.0.5

15 Apr 15:00
47ee2a7
Compare
Choose a tag to compare

Usage related changes

  • Providing JSON-RPC API v0.7.1
  • Supporting Starknet v0.13.1.1
  • Updates on block manipulation:
    • On spawning Devnet, an empty origin block is generated
    • Supporting block abortion
  • Using Sepolia chain ID
  • Starting with this release, platform-specific pre-compiled binaries are attached in the Assets section (more info).
  • Improved installation docs
  • Updates on forking:
    • A warning is logged if spawned Devnet has a config mismatch with the origin.
    • Bugfix in starknet_getClassAt
    • Forking not fully supported if the origin URL uses HTTPS scheme (issue)
  • Always predeclaring both Cairo0 and Cairo1 accounts
    • Still predeploying only the one kind selected by user (docs)
  • Large HTTP requests supported via configurable body size (--request-body-size-limit <BYTES>)

Development related changes

  • Transaction handling improved by refactoring
  • Internally compiling to CASM using USC
  • Improved development docs.
  • Improved GitHub templates
  • Artifact paths resolved and loaded at compile-time
    • Dockerization made simpler

Merged PRs

New Contributors

Full Changelog: v0.0.4...v0.0.5

v0.0.4

27 Mar 15:24
8d9a2ae
Compare
Choose a tag to compare

Usage related changes

  • Supporting JSON-RPC API v0.7.0
  • Introducing forking support: docs
  • Endpoint for checking /account_balance: docs
  • New CLI param: --data-gas-price <PRICE>
  • The default Testnet chain ID used by Devnet is still SN_GOERLI
    • will be addressed in an upcoming release
  • Fixed bugs:
    • Account balance no longer overflowing on minting
    • Compiling sierra to casm only once when fetching the class

Development related changes

  • Major refactorings before block abortion (pending) and forking
  • Fixed Dependabot alerts
  • Changed job parallelization on CircleCI (separate unit and e2e testing, using 3 jobs for the latter)

Merged PRs

New Contributors

Full Changelog: v0.0.3...v0.0.4

v0.0.3

01 Mar 13:47
230b74c
Compare
Choose a tag to compare

Usage related changes

  • Supporting JSON-RPC 0.7.0-rc1
  • Updated predeployed accounts and ERC20 contracts to OpenZeppelin 0.8.1
  • /set_time endpoint now accepts JSON param generate_block that skips block generation if set to true (defaults to false)
    • This way you can ensure that the next transaction you send will be using the set time
  • Fixed bugs
    • Extra properties in some RPC responses
    • Empty object params

Development related changes

  • Using rust-toolchain 1.74.0

Merged PRs

New Contributors

Full Changelog: v0.0.2...v0.0.3

v0.0.2

01 Mar 11:51
791fc72
Compare
Choose a tag to compare

Initial official crate release. Further releases shall contain diff since the last release.

  • Available with cargo install starknet-devnet
  • Supporting JSON-RPC v0.6.0

Full Changelog: https://github.com/0xSpaceShard/starknet-devnet-rs/commits/v0.0.2