Releases: 0xSpaceShard/starknet-devnet
Releases · 0xSpaceShard/starknet-devnet
v0.5.0-rc.4
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
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
).
- On block abortion, the block and its transactions are now removed from Devnet's memory (unlike previous marking as
- Predeploy UDC 2 by @FabijanC in #816
- At address:
0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125
- The new UDC serves both
deploy_contract
anddeployContract
entrypoints. - Keep old UDC for backwards compatibility.
- At address:
Usage related changes
Full Changelog: v0.5.0-rc.2...v0.5.0-rc.3
v0.5.0-rc.2
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.
- Accepts a block ID and marks as
- Does not actually perform L1 actions.
- Check the docs for more info.
- new RPC method:
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
- @tabaktoni made their first contribution in #812
Full Changelog: v0.5.0-rc.1...v0.5.0-rc.2
v0.5.0-rc.1
- 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
- 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
andstarknet-api
).- All other modes of Devnet installation/update are available as specified in the documentation.
- 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
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
- @davidjsonn made their first contribution in #794
Full Changelog: v0.4.2...v0.4.3
v0.4.2
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), tomessaging_contract_address
, but keepingaddress
as an alias for backwards compatibility, effectively making it deprecated. - New parameter in JSON-RPC method
devnet_postmanLoad
:deployer_account_private_key
- Rename
Development related changes
- Rename test artifact getters by @FabijanC in #783
- Test time advancing with forking (impersonation) by @FabijanC in #781
- Update RELEASE.md
- Release 0.4.2 by @FabijanC in #790
Full Changelog: v0.4.1...v0.4.2
v0.4.1
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
- Refactor L1-L2 messaging conversions by @FabijanC in #769
- Minor refactoring and improvements in testing by @FabijanC in #764
- Improve testing of time advancement by @FabijanC in #778
- Fix typo in code doc by @zeroprooff in #768
- Release 0.4.1 by @FabijanC in #780
New Contributors
- @zeroprooff made their first contribution in #768
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Usage related breaking changes
- Drop support for v0, v1 and v2 transactions:
- Warning message for old V3 transactions by @marioiordanov in #763
- 0.8.1 JSON-RPC spec by @marioiordanov in #755
- Remove request body size limit; set class size declaration limits; reduce gas prices by @FabijanC in #743
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
Development related changes
- Install nightly-2025-02-20; apply fmt by @FabijanC in #736
- Fix docs: npm dependabot issues + part of broken anchors by @FabijanC in #737
- Improve data generator for spec_reader tests by @marioiordanov in #738
- Move coderabbit.yaml config to root [skip ci] by @FabijanC in #759
- Improve spawning background process by @marioiordanov in #753
- Fix Typo in Test Function Name by @leopardracer in #757
- Remove mentions of max fee by @FabijanC in #761
New Contributors
- @leopardracer made their first contribution in #757
- @reject-i made their first contribution in #766
Full Changelog: v0.3.0...v0.4.0
v0.3.0
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
anddevnet_getAccountBalance
using FRI as the default unit - Method
starknet_getStorageProof
not supported
- The use of the STRK currency is reflected in
- 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
- The repository is no longer at https://github.com/0xSpaceShard/starknet-devnet-rs, but omits the
-rs
suffix to become https://github.com/0xSpaceShard/starknet-devnet - Links to the old repo name should be redirected automatically.
- Links to the old docs website name no longer work.
- The repository is no longer at https://github.com/0xSpaceShard/starknet-devnet-rs, but omits the
- Predeclare Argent accounts in #658
- Not predeclared by default, activated with
--predeclare-argent
on startup
- Not predeclared by default, activated with
- 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