Skip to content

Releases: 0xSpaceShard/starknet-devnet-rs

v0.2.3

21 Nov 18:16
Compare
Choose a tag to compare

Usage related changes

All of the following changes are bugfixes:

Development related changes

Full Changelog: v0.2.2...v0.2.3

v0.2.2

31 Oct 09:06
ef789b7
Compare
Choose a tag to compare

Skipped version notice

There were problems with publishing v0.2.1, so that version is skipped.

Usage related changes

Development related changes

Release related PRs

New Contributors

Full Changelog: v0.2.0...v0.2.2

v0.2.0

19 Sep 15:41
bf1fc85
Compare
Choose a tag to compare

Blockifier stable release

The plan was to make a stable release once Blockifier receives a stable release. But since that is not happening, here's a new Devnet release!

Breaking changes since v0.1.2

  • Requiring Rust v1.76
  • Changed dumping format, though on the API side nothing is changed
  • CLI changes:
    • --gas-price-strk -> --gas-price-fri
    • --data-gas-price-strk -> --data-gas-price-fri
  • JSON-RPC changes:
    • gas_price_strk -> gas_price_fri
    • data_gas_price_strk -> data_gas_price_fri
    • Block abortion supports any kind of ID, so: starting_block_hash -> starting_block_id
  • In --block-generation-on <PERIOD> mode, the first block after the genesis block is no longer generated immediately, but after the first period.

All of the above listed breaking changes have already been covered in -rc release notes (between 0.1.2 and 0.2.0). Those release notes also include non-breaking changes.

Changes since v0.2.0-rc.3

Full Changelog: v0.2.0-rc.3...v0.2.0

v0.2.0-rc.3

05 Sep 10:11
aba4bba
Compare
Choose a tag to compare
v0.2.0-rc.3 Pre-release
Pre-release

Changes since v0.2.0-rc.2

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

v0.2.0-rc.2

20 Aug 08:05
996e014
Compare
Choose a tag to compare
v0.2.0-rc.2 Pre-release
Pre-release

Changes since v0.2.0-rc.1

New Contributors

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

v0.2.0-rc.1

24 Jul 10:33
Compare
Choose a tag to compare
v0.2.0-rc.1 Pre-release
Pre-release

Changes since v0.2.0-rc.0

  • Using blockifier 0.8.0-rc.1
  • Minor documentation fixes

Merged PRs

New Contributors

Full Changelog: v0.2.0-rc.0...v0.2.0-rc.1

v0.2.0-rc.0

23 Jul 12:16
9bb05a1
Compare
Choose a tag to compare
v0.2.0-rc.0 Pre-release
Pre-release

Usage related changes

Breaking changes

  • If installing Devnet from source or via cargo install, Rust version 1.76 is required.
  • When aborting, blocks can now be specified via any kind of block ID. The specifier is thus changed from starting_block_hash to starting_block_id.
  • In --block-generation-on <PERIOD> mode, the first block after the genesis block is no longer generated immediately, but after the first period.

New features

  • Adapted to the pre-release version of Starknet 0.13.2.
  • Improved chain ID handling:
    • When forking, the chain ID is automatically set to the origin value.
    • The chain ID CLI parameter now supports custom values: --chain-id <STRING>
  • Requests which don't require parameters in their JSON bodies now support omitting the body completely.
  • Improved dumping UX:
    • Even though dumping on HTTP request was already possible, it required starting Devnet with unintuitive flags. From now on, if you want to dump on-request only, specify --dump-on request.
    • If dumping path not provided, the dump is included in the response body. If using curl, you can now easily dump to STDOUT and redirect.

Bugfixes

  • Fixed loading of dumped Devnet on request.
  • Checking casm hash validity on declaration transactions.
  • Fixed L2 gas in V3 transactions.
  • Supporting minting of large amounts (including scientific notation).
  • Execution on the latest block is specifiable via any equivalent block ID, not just "latest".
  • Fixed values of storage variables of predeployed ERC20 tokens.
  • Origin-fork communication logging level changed from INFO to DEBUG, not to mislead users.

Development related changes

  • Using self-hosted runner in CI + custom caching
  • Fix nightly version used in tests

Merged PRs

New Contributors

Full Changelog: v0.1.2...v0.2.0-rc.0

v0.1.2

01 Jul 14:02
ff9ba95
Compare
Choose a tag to compare

Usage related changes

  • --state-archive-capacity full using less memory
    • Used to be a quadratic growth with each new transaction; now significantly reduced
  • Fix response of getPredeployedAccounts when with_balance set to true:
{
    ...,
    "balance": {
        "wei": { "amount":  "1", "unit": "WEI" },
        "fri": { "amount":  "1", "unit": "FRI" }
    }
}
{
    ...,
    "balance": {
        "eth":  { "amount":  "1", "unit": "WEI" },
        "strk": { "amount":  "1", "unit": "FRI" }
    }
}

Development related changes

  • Update dependencies
  • Fix https forking test
  • Refactor class storage

Merged PRs

Full Changelog: v0.1.1...v0.1.2

v0.1.1

27 Jun 13:51
058fe3c
Compare
Choose a tag to compare

Usage related changes

  • v0.1.0 skipped
  • API unification. Devnet-specific functionality now available via JSON-RPC:
    • E.g. POST /mint is now POST /rpc { "method": "devnet_mint", ... }
    • Methods are documented on the documentation pages related to their respective use cases.
    • The long term plan is to remove the old endpoints and keep only JSON-RPC support
  • Block generation changes:
    • Dropped: --blocks-on-demand
    • Introduced --block-generation-on <transaction|demand|<SECONDS>>
      • The last one is a new mode and introduces automatic block generation with a period of <SECONDS>.
      • Default: transaction
    • More info in docs
  • Return proper RPC errors from starknet_getBlockTransactionCount and starknet_getEvents
  • Bugfix in block abortion
  • Update docs with starknet-devnet-js references

Development related changes

  • Refactor of state commitment

Merged PRs

New Contributors

Full Changelog: v0.0.7...v0.1.1

v0.0.7

10 Jun 13:09
403f408
Compare
Choose a tag to compare

License to kill

🔫 This version gives you the license to kill...
...problems you may have faced with other testnets.

Usage related changes

Development related changes

  • Improved account testing
  • Improved documentation (forking, dumping, typos...)

Merged PRs

New Contributors

Full Changelog: v0.0.6...v0.0.7