Skip to content

Releases: 0xSpaceShard/starknet-devnet

v0.5.0-rc.4

25 Jul 14:59
4798b6d
Compare
Choose a tag to compare
v0.5.0-rc.4 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.3.

Usage related changes

  • Remove non-RPC logic from docs in #822
  • Complete adaptation to JSON-RPC 0.9.0-rc.2 in #819 and #821
  • Fix forking (getEvents) in #821

Development related changes

  • Remove non-RPC logic from tests in #822
  • Reduced dependence on starknet-rs in #819
  • Pre-release 0.5.0-rc.4 in #823

Full Changelog: v0.5.0-rc.3...v0.5.0-rc.4

v0.5.0-rc.3

22 Jul 15:00
a985727
Compare
Choose a tag to compare
v0.5.0-rc.3 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.2.

What's Changed

  • Breaking: Modify block abortion by @FabijanC in #814
    • On block abortion, the block and its transactions are now removed from Devnet's memory (unlike previous marking as REJECTED).
  • Predeploy UDC 2 by @FabijanC in #816
    • At address: 0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125
    • The new UDC serves both deploy_contract and deployContract entrypoints.
    • Keep old UDC for backwards compatibility.

Usage related changes

Full Changelog: v0.5.0-rc.2...v0.5.0-rc.3

v0.5.0-rc.2

18 Jul 16:15
0747e22
Compare
Choose a tag to compare
v0.5.0-rc.2 Pre-release
Pre-release

All changes are relative to v0.5.0-rc.1.

Usage related changes

  • Fix invalid transaction nonce error.
  • Expose default Devnet port in Dockerfile by @tabaktoni in #812
    • Improved UX in Docker GUI: prompt for port entry
  • Support simulation of ACCEPTED_ON_L1 by @FabijanC in #810
    • new RPC method: devnet_acceptOnL1
      • Accepts a block ID and marks as ACCEPTED_ON_L1 all of its ancestors not yet having that mark.
      • Returns hashes of marked blocks.
    • Does not actually perform L1 actions.
    • Check the docs for more info.

Development related changes

  • Merged #802
    • The previous two 0.5.0 release candidates were from the branch of this PR
  • Use starknet-rs 0.17.0-rc.1
    • All tests passing
  • Test case: set time when pre-confirmed txs by @FabijanC in #806
  • Replace remaining occurrences of pending with pre-confirmed by @FabijanC in #811
  • Release 0.5.0-rc.2 by @FabijanC in #813

New Contributors

Full Changelog: v0.5.0-rc.1...v0.5.0-rc.2

v0.5.0-rc.1

07 Jul 09:21
Compare
Choose a tag to compare
v0.5.0-rc.1 Pre-release
Pre-release
  • This is a pre-release supporting Starknet 0.14 and JSON-RPC API 0.9.0-rc.1

Changes since v0.5.0-rc.0

  • This pre-release is available on crates.io
    • blockifier no longer a git dependency
  • Bugfix in fee estimation
  • Full Changelog: v0.5.0-rc.0...v0.5.0-rc.1

v0.5.0-rc.0

04 Jul 09:51
Compare
Choose a tag to compare
v0.5.0-rc.0 Pre-release
Pre-release
  • This is a pre-release intended to support Starknet 0.14 and JSON-RPC API 0.9.0-rc.1
  • A more detailed documentation of changes, both usage- and development-related, is available in #802.
  • As with v0.4.3, this release is not available on crates.io due to git dependencies (blockifier and starknet-api).
  • Stable version (non-rc) to be released when starknet-rs is adapted and complete testing unblocked.
  • Full Changelog: v0.4.3...v0.5.0-rc.0

v0.4.3

26 Jun 12:14
e08301f
Compare
Choose a tag to compare

Usage related changes

  • This version does not include a crates.io release.
    • All other modes of Devnet installation/update are available, as described in the docs.
    • Future stable releases (non-rc versions) should again be available on crates.io.
  • Fix total supply in ERC20 by @FabijanC in #797
  • Change STRK and ETH ERC20 implementation by @FabijanC in #799
    • Using the same contract classes as the Sepolia testnet
    • Fix minting
    • This improvement led to slowdown described in #804
      • Should be addressed in the next version
  • Update to Starknet 0.13.6 by @FabijanC in #800
    • JSON-RPC API supported: v0.8.1

Development related changes

  • Fix dead link in foundry.toml by @davidjsonn in #794
  • Release 0.4.3 by @FabijanC in #803
  • Update RELEASE.md and bug report template
  • Temporarily suppress publishing to crates.io due to git dependency (blockifier)

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

27 May 08:53
e0613b1
Compare
Choose a tag to compare

Usage related changes

  • Fix starknet_getEvents with forking Devnet by @FabijanC in #787
  • Fix balance insufficiency on minting by @FabijanC in #789
  • Enable custom account in deploying L1 messaging contract by @FabijanC in #758
    • Rename address parameter (referring to the address of the L1 messaging contract to be loaded), to messaging_contract_address, but keeping address as an alias for backwards compatibility, effectively making it deprecated.
    • New parameter in JSON-RPC method devnet_postmanLoad: deployer_account_private_key

Development related changes

Full Changelog: v0.4.1...v0.4.2

v0.4.1

08 May 07:36
26292d1
Compare
Choose a tag to compare

Usage related changes

Forking

  • Fix calling forked Devnet at non-existent block by @FabijanC in #772
  • Replace blocking HTTP client; improve logging by @FabijanC in #777
  • Retry 3 times with 1 second of sleep by @FabijanC in #779

Predeployment

  • Replace OZ predeployed accounts 0.20.0 with 1.0.0 by @FabijanC in #770
  • Fix typo in predeployment docs by @omahs in #774

Development related changes

New Contributors

Full Changelog: v0.4.0...v0.4.1

v0.4.0

18 Apr 08:46
Compare
Choose a tag to compare

Usage related breaking changes

Other usage related changes

  • Improve predeclaration/predeployment startup log by @FabijanC in #734
  • Fix starknet_getStorageProof dummy implementation by @FabijanC in #749
  • Update BouncerConfig by @FabijanC in #762
  • Improve L1->L2 mock docs by @FabijanC in #765
  • Fix dead links in docs by @reject-i in #766
  • Fix ERC20 property retrieval
    • Fix ByteArray handling in ERC20 predeployment by @FabijanC in #744
    • Use OZ 0.8.1 implementation of STRK and ETH ERC20 token contracts by @FabijanC in #750

Development related changes

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

27 Mar 15:11
fc5a275
Compare
Choose a tag to compare

All changes are relative to v0.2.4

Usage related changes

  • Update to Starknet 0.13.5 (including RPC 0.8 with WebSocket support) in #697
    • The use of the STRK currency is reflected in devnet_mint and devnet_getAccountBalance using FRI as the default unit
    • Method starknet_getStorageProof not supported
  • Increment the required Rust version to 1.85.
  • Fix too-big-request error in #677
  • Update predeployed contracts to OpenZeppelin v0.20.0 in #695 and #724
    • Not including UDC, which still uses a Cairo 0 contract.
  • Old transaction version deprecation
    • Drop support for adding new declaration transactions of v1
    • Expand transaction deprecation warning to fee estimation and simulation in #704
  • Rebrand to starknet-devnet in #709 and #711
  • Predeclare Argent accounts in #658
    • Not predeclared by default, activated with --predeclare-argent on startup
  • Improve L1-L2 docs in #726
  • Modify pre-compiled binaries attached to new version releases in #715
    • Cross-compile with rustc instead of cross-rs
    • The binaries are no longer static so may require installing or re-linking C libraries
    • Drop aarch64-unknown-linux-musl target

Development related changes

  • Fix script for fetching binary artifacts in #688
  • Remove blockifier testing feature in #690
  • Add new tests: cairo0 non-existent method, fork call in #693
  • Improve docs on version updates; use cargo-machete 0.7.0 in #706
  • Fix port acquisition in BackgroundAnvil in #708
  • Test deployment scenarios in #721
  • Add coderabbit config file in #731
  • Fix crates.io version detection in fef38cc

Changelog

Full Changelog: v0.2.4...v0.3.0