This repository has been archived by the owner on Feb 28, 2025. It is now read-only.
Releases: 0xSpaceShard/starknet-devnet-deprecated
Releases · 0xSpaceShard/starknet-devnet-deprecated
v0.6.3
What's Changed
- Fix get_state_update when forking by @FabijanC in 0xSpaceShard/starknet-devnet#525
Full Changelog: 0xSpaceShard/starknet-devnet@v0.6.2...v0.6.3
v0.6.2
Usage related changes
- JSON-RPC: Now supporting both
starknet_simulateTransactions
andstarknet_simulateTransaction
(same functionality).
Merged PRs
- Support starknet_simulateTransactions by @FabijanC in 0xSpaceShard/starknet-devnet#524
Full Changelog: 0xSpaceShard/starknet-devnet@v0.6.1...v0.6.2
v0.6.1
What's Changed
- Update cairo path instructions by @pscott in 0xSpaceShard/starknet-devnet#520
- Adaptation to Starknet 0.12.2 by @mikiw in 0xSpaceShard/starknet-devnet#521
New Contributors
- @pscott made their first contribution in 0xSpaceShard/starknet-devnet#520
Full Changelog: 0xSpaceShard/starknet-devnet@v0.6.0...v0.6.1
v0.6.0
What's Changed since Devnet pre-release v0.6.0a0
- Adapt to Starknet 0.12.1 by @FabijanC in 0xSpaceShard/starknet-devnet#517
- Defaulting to Cairo compiler v0.2.1 in Declare v2 transactions
- Bounce back invalid transactions (instead of reverting) by @FabijanC in 0xSpaceShard/starknet-devnet#518
Full Changelog: 0xSpaceShard/starknet-devnet@v0.6.0a0...v0.6.0
v0.6.0a0
What's Changed
- Adapt to Starknet / cairo-lang 0.12.1a0 by @FabijanC in 0xSpaceShard/starknet-devnet#516
- Defaulting to Cairo compiler v2.1.0-rc0 when recompiling in your declare v2 transactions.
- This is a breaking pre-release:
- This Python implementation of Devnet will soon be replaced by a Rust one
- The official testnet is introducing a change to the status of failed transactions: distinguishing between failed validation (
REJECTED
tx) and failed execution (REVERTED
tx). A simplification of this is introduced in this version Devnet:- All failures are labeled as
REVERTED
(change), but not included in blocks (same as it was). - Read more on this documentation page or on the official documentation site
- All failures are labeled as
Full Changelog: 0xSpaceShard/starknet-devnet@v0.5.5...v0.6.0a0
v0.5.5
What's Changed since v0.5.5a0
- Adapt to Starknet / cairo-lang 0.12.0 (stable) by @FabijanC in 0xSpaceShard/starknet-devnet#515
Full Changelog since v0.5.5a0: 0xSpaceShard/starknet-devnet@v0.5.5a0...v0.5.5
v0.5.5a0
Usage related changes
- Adapted to Starknet 0.12.0a0
- Applied testnet's change of using HTTP status code 400 instead of 500 for bad requests
- Blocks can still be pending, but the transactions in it are marked as
ACCEPTED_ON_L2
- Changed the default compiler args used in Cairo 1 declaration:
- Old:
--add-pythonic-hints --allowed-libfuncs-list-name experimental_v0.1.0
- New:
--add-pythonic-hints
- Improves Cairo 2 declaration UX
- Old:
- Bugfix in
starknet_simulateTransaction
of JSON-RPC API
Development related changes
- Rewrote the testing contract into Cairo 2
- Not using ABI of Cairo 1/2 testing contracts
- Using
StorageDomain.ON_CHAIN
in nonce and storage manipulation (currently the only allowed value ofStorageDomain
)
Merged PRs
- Bugfix for RPC
starknet_simulateTransaction
response by @mikiw in 0xSpaceShard/starknet-devnet#509 - Added
call_type
param to rpcFunctionInvocation
by @bartekryba in 0xSpaceShard/starknet-devnet#513 - Adapt to Starknet / cairo-lang 0.12.0 by @FabijanC in 0xSpaceShard/starknet-devnet#512
Full Changelog: 0xSpaceShard/starknet-devnet@v0.5.4...v0.5.5a0
v0.5.4
Usage related changes
- JSON-RPC updates
simulateTransaction
supported- Using parameter
transactions
instead oftransaction
- Other trace methods not yet supported
- Using parameter
getBlockWithTxs
,getBlockWithTxHashes
andgetTransactionByHash
now can return DeclareV2 (Cairo 1) transactions
- Improved logging; introduced new flags
--verbose
--hide-predeployed-contracts
--hide-predeployed-accounts
is deprecated
--hide-server-logs
to hide HTTP server logs
- Customizable compiler args:
- Since supporting Cairo 1 declaration, Devnet has been recompiling the contracts with a hardcoded set of flags
- Set a custom set of flags by providing a single space-separated string to
--compiler-args
- default is
--compiler-args "--add-pythonic-hints --allowed-libfuncs-list-name experimental_v0.1.0"
- default is
Merged PRs
- Support for JSON RPC simulateTransaction method by @mikiw in 0xSpaceShard/starknet-devnet#492
- Renamed transaction param for rpc simulateTransactions by @ivpavici in 0xSpaceShard/starknet-devnet#499
- Fix
rpc_declare_transaction
logic to also return DeclareV2 by @tomek0123456789 in 0xSpaceShard/starknet-devnet#500 - Fix failing test by @tomek0123456789 in 0xSpaceShard/starknet-devnet#502
- Improve logging by @tonypony220 in 0xSpaceShard/starknet-devnet#487
- Fix for simulated_transactions format by @mikiw in 0xSpaceShard/starknet-devnet#503
- Make compiler args customizable by @FabijanC in 0xSpaceShard/starknet-devnet#504
- Minor modification of #487 (logging polish) by @FabijanC in 0xSpaceShard/starknet-devnet#505
- Refactor estimation and simulation by @FabijanC in 0xSpaceShard/starknet-devnet#506
Full Changelog: 0xSpaceShard/starknet-devnet@v0.5.3...v0.5.4
v0.5.3
Usage related changes
- Adapted to cairo-lang/Starknet v0.11.2
- Cairo 1 declaration by default using an x86-compatible compiler v1.1.0, see docs or
--help
on how to override
- Cairo 1 declaration by default using an x86-compatible compiler v1.1.0, see docs or
- Cairo 1 improved support
- Forked mode: fixed retrieval of classes declared on origin
- Improved docs
- Fixed message on recompilation failure
- Fixed L1-L2 (postman) functionality when no messages to flush
- JSON-RPC improvements
- Updated to specification v0.3.0 (trace API under development)
- Fixed fee estimation of Cairo 1 declaration
- Other bugfixes
Development related changes
Merged PRs
- starknet_devnet/compiler.py: fix error messages by @cfal in 0xSpaceShard/starknet-devnet#479
- Fix estimate_fee with Declare transaction type by @tomek0123456789 in 0xSpaceShard/starknet-devnet#483
- bugfix for __postman_wrapper on init by @mikiw in 0xSpaceShard/starknet-devnet#489
- Fix for missing __latest_state at the initialization of StarknetWrapper by @mikiw in 0xSpaceShard/starknet-devnet#484
- Improve docs on Cairo 1 support by @FabijanC in 0xSpaceShard/starknet-devnet#491
- Fix cairo1 class not retrievable when forking by @FabijanC in 0xSpaceShard/starknet-devnet#490
- Adapt to cairo-lang/Starknet 0.11.2 by @FabijanC in 0xSpaceShard/starknet-devnet#493
- Changed favicon to spaceshard logo [skip ci] by @ivpavici in 0xSpaceShard/starknet-devnet#495
- Rpc v0.3.0 update by @bartekryba in 0xSpaceShard/starknet-devnet#494
New Contributors
- @cfal made their first contribution in 0xSpaceShard/starknet-devnet#479
Full Changelog: 0xSpaceShard/starknet-devnet@v0.5.2...v0.5.3
v0.5.2
Usage related changes
- Adapted to cairo-lang / Starknet v0.11.1.1
- Default gas price set to 1e8 (was 1e11)
- Updated JSON RPC API to spec v0.3.0.-rc1
- In L2-L1 message relaying, emit
LogMessageToL1
event - When forking, suppressed the misleading log messages coming from missing resources in forking origin
- Improved Cairo 1 support
- New way of specifying a custom compiler:
--sierra-compiler-path <EXECUTABLE_PATH>
- Instead of
--cairo-compiler-manifest
which requires you to link to the whole repo, this new option allows providing just the built binary - Works better with Devnet in Docker
- Expanded docs with a page on Cairo 1 support
- Fixed failing Cairo 1 class redeclaring
- Improved recompilation error message
- Fixed
feeder_gateway/get_code
failing for Cairo 1 contracts
- New way of specifying a custom compiler:
Development related changes
- Updated dependencies
Merged PRs
- Fix get_code by @FabijanC in 0xSpaceShard/starknet-devnet#461
- Handle redeclaring cairo 1 by @FabijanC in 0xSpaceShard/starknet-devnet#463
- Wrap badrequest error when forking by @tonypony220 in 0xSpaceShard/starknet-devnet#462
- Improve default cairo1 compiler error by @FabijanC in 0xSpaceShard/starknet-devnet#465
- Fix failing isinstance checks in syscalls with Rust VM by @fmoletta in 0xSpaceShard/starknet-devnet#466
- Support custom sierra compiler by @FabijanC in 0xSpaceShard/starknet-devnet#471
- Bump crypto-cpp-py to 1.4.0, poseidon-py to 0.1.3 by @drknzz in 0xSpaceShard/starknet-devnet#473
- Update JsonRpc Api to v0.3.0-rc1 by @bartekryba in 0xSpaceShard/starknet-devnet#467
- Fix bad import from test module in starknet-devnet module by @bartekryba in 0xSpaceShard/starknet-devnet#474
- Emit LogMessageToL1 event by @FabijanC in 0xSpaceShard/starknet-devnet#468
- 0.11.1 adaptations by @mikiw in 0xSpaceShard/starknet-devnet#472
New Contributors
- @tonypony220 made their first contribution in 0xSpaceShard/starknet-devnet#462
- @bartekryba made their first contribution in 0xSpaceShard/starknet-devnet#467
Full Changelog: 0xSpaceShard/starknet-devnet@v0.5.1...v0.5.2