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

08 Aug 16:38
Compare
Choose a tag to compare

Usage related changes

  • Fixed handling of running requests exchanging big payloads, e.g. get_code
  • Fixed off-by-one offset in get_block_number syscall response

Development related changes

  • Using gunicorn instead of meinheld (abandoned, lacking documentation)

What's Changed

Full Changelog: v0.2.8...v0.2.9

v0.2.8

04 Aug 13:18
Compare
Choose a tag to compare

Usage related changes

  • Fixed fee estimation weights - should result in estimations more similar to those on alpha-goerli
  • Fixed block_hash property of get_transaction_status response to be hex string
  • Fixed get_transaction_trace for declare transactions
  • Block improvements:
    • Fixed response of get_block_number cairo syscall
    • Now shipping with a genesis block (block number 0)
    • Introduced an endpoint for generating an empty block: POST /create_block
  • Slightly improved performance

Development related changes

  • Refactored Account and FeeToken
  • Added parallel testing script
  • Replaced unnecessary async with sync methods

Merged PRs

Full Changelog: v0.2.7...v0.2.8

v0.2.7

02 Aug 13:49
Compare
Choose a tag to compare

Usage related changes

  • Flushing stdout
  • Introduced endpoint for fetching fee token info (GET /fee_token)
  • Fixed balance checking and minting after loading dumped Devnet
  • RPC updates:
    • Fixed declare and deploy parameters (hexing ints)
    • Supported RPC write API (invoke, deploy, declare)

Development related changes

  • Refactored FeeToken

Merged PRs

New Contributors

Full Changelog: v0.2.6...v0.2.7

v0.2.6

20 Jul 11:30
Compare
Choose a tag to compare

Usage related changes

  • Adapted to cairo-lang and Starknet 0.9.1
  • Added path check on when dumping
  • Using OpenZeppelin 0.2.1 for predeployed accounts
  • Accounts predeployed with --seed now set not to change with new Devnet releases
  • Token contract:
    • Address set not to change with new Devnet releases
    • Token symbol changed to ETH
  • Supported non-decimal float as amount of minting (like 1e21 or 1000.0)
  • Added support for geth --dev being used as the L1 of L1<>L2 Postman communication
  • Introduced the /api endpoint which returns a map of all URL endpoints provided by Devnet
  • Introduced Docker image tag shardlabs/starknet-devnet:<VERSION>-seed0 which predeploys accounts with --seed 0

Development related changes

  • Refactored tests to reduce file size
  • Predeploy 0 accounts in tests
  • Support local parallel testing (poetry run pytest -n auto --dist loadscope test/)

Merged PRs

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

05 Jul 14:10
Compare
Choose a tag to compare

Usage related changes

  • Introduced an endpoint for fetching predeployed account information: docs
  • Introduced local faucet for adding funds (minting tokens) to accounts: docs
  • Partial update to JSON RPC API v0.15.0

Development related changes

  • Fixed test splitting
  • Introduced debug mode script
  • Improved GitHub PR and bug report templates.

Merged PRs

Full Changelog: v0.2.4...v0.2.5

v0.2.4

22 Jun 08:37
Compare
Choose a tag to compare

Usage related changes

  • Fixed deployment done with the deploy syscall.
  • Added an endpoint for loading dumped Devnet instances: /load.
  • Updated the OpenZeppelin implementation used by predeployed accounts.
  • Added support for JSON-RPC calls: docs.
  • Redeploying the same contract with the same salt is reintroduced (it was removed, but shouldn't have been as this is a feature of alpha-goerli).
  • The crypto-cpp-py dependency was updated to have wheels for more macos versions.

Development related changes

  • Improved dev docs.
  • Added a script for running in debug mode.
  • Improved background running of Devnet in tests (replaced fixed-time sleeping with sleep-checking in a loop).

Merged PRs

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

09 Jun 14:55
7f81ddf
Compare
Choose a tag to compare

Usage related changes

  • Supported starknet/cairo-lang v0.9.0 features:
    • declare - Contract class declaration
    • get_class_hash_at
    • get_class_by_hash
  • Now predeploying a set of prefunded accounts:
  • Transactions with max_fee set to 0 are still allowed.
  • Using C++ implementation of pedersen hash for better performance.
  • Fixed events property of transaction receipts (was missing when used through accounts).

Development related changes

  • Using cloudpickle instead of dill for serialization (dill started throwing this error: uqfoundation/dill#332).
  • Improved developer docs.

Merged PRs

New Contributors

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

v0.2.2

26 May 11:12
Compare
Choose a tag to compare

Usage related changes

  • Introduce timestamp management endpoints (for setting time and increasing time offset: read more)
  • Fix timestamp support in lite-mode
  • Include max_fee in get_transaction response
  • Include failure reason in tx_status and get_transaction response.

Development related changes

  • Use call_raw for making calls (introduced with cairo-lang 0.8.2)
  • Improve typing by relying on starknet's types
  • Improve testing (test with min and max python version)

Merged PRs

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

11 May 13:31
Compare
Choose a tag to compare

Usage related changes

  • Adapted to cairo-lang 0.8.2:
    • Pending block support will be added in future versions.
  • Introduced speed-up troubleshooting

Merged PRs

Full Changelog: v0.2.0...v0.2.1

v0.2.0

05 May 12:39
Compare
Choose a tag to compare

Usage related changes

  • Changed default host and port to 127.0.0.1:5050
    • This is a BREAKING change
    • Rationale: issues with docker and mac integration
  • Reduced deployment time
  • Introduced ARM Docker images:
    • Append -arm to image tag to use the ARM counterpart (e.g. shardlabs/starknet-devnet:0.2.0-arm)

Development related changes

  • Fixed test splitting
  • Reduced deployment time by skipping address precalculation.

What's Changed

Full Changelog: v0.1.23...v0.2.0