Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Releases: 0xSpaceShard/starknet-devnet

v0.6.3

19 Sep 14:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.2...v0.6.3

v0.6.2

01 Sep 16:09
Compare
Choose a tag to compare

Usage related changes

  • JSON-RPC: Now supporting both starknet_simulateTransactions and starknet_simulateTransaction (same functionality).

Merged PRs

Full Changelog: v0.6.1...v0.6.2

v0.6.1

29 Aug 10:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

11 Aug 11:15
Compare
Choose a tag to compare

What's Changed since Devnet pre-release v0.6.0a0

  • Adapt to Starknet 0.12.1 by @FabijanC in #517
    • Defaulting to Cairo compiler v0.2.1 in Declare v2 transactions
  • Bounce back invalid transactions (instead of reverting) by @FabijanC in #518

Full Changelog: v0.6.0a0...v0.6.0

v0.6.0a0

04 Aug 07:34
Compare
Choose a tag to compare
v0.6.0a0 Pre-release
Pre-release

What's Changed

  • Adapt to Starknet / cairo-lang 0.12.1a0 by @FabijanC in #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:

Full Changelog: v0.5.5...v0.6.0a0

v0.5.5

04 Jul 14:34
Compare
Choose a tag to compare

What's Changed since v0.5.5a0

  • Adapt to Starknet / cairo-lang 0.12.0 (stable) by @FabijanC in #515

Full Changelog since v0.5.5a0: v0.5.5a0...v0.5.5

v0.5.5a0

03 Jul 12:09
Compare
Choose a tag to compare
v0.5.5a0 Pre-release
Pre-release

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
  • 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 of StorageDomain)

Merged PRs

  • Bugfix for RPC starknet_simulateTransaction response by @mikiw in #509
  • Added call_type param to rpc FunctionInvocation by @bartekryba in #513
  • Adapt to Starknet / cairo-lang 0.12.0 by @FabijanC in #512

Full Changelog: v0.5.4...v0.5.5a0

v0.5.4

16 Jun 12:53
Compare
Choose a tag to compare

Usage related changes

  • JSON-RPC updates
    • simulateTransaction supported
      • Using parameter transactions instead of transaction
      • Other trace methods not yet supported
    • getBlockWithTxs, getBlockWithTxHashes and getTransactionByHash 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"

Merged PRs

Full Changelog: v0.5.3...v0.5.4

v0.5.3

01 Jun 15:15
Compare
Choose a tag to compare

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 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

New Contributors

  • @cfal made their first contribution in #479

Full Changelog: v0.5.2...v0.5.3

v0.5.2

20 May 16:11
Compare
Choose a tag to compare

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

Development related changes

  • Updated dependencies

Merged PRs

New Contributors

Full Changelog: v0.5.1...v0.5.2