Releases: 0xSpaceShard/starknet-devnet-rs
Releases · 0xSpaceShard/starknet-devnet-rs
v0.0.7
License to kill
🔫 This version gives you the license to kill...
...problems you may have faced with other testnets.
Usage related changes
- Pending block functionality fixed
- JSON-RPC
starknet_get*
methods again callable onpending
block/state.
- JSON-RPC
- CLI parameters specifiable via environment variables
- CTF feature on Devnet startup:
--disable-account-impersonation
Development related changes
- Improved account testing
- Improved documentation (forking, dumping, typos...)
Merged PRs
- Improve account class testing by @FabijanC in #476
- Mention forking in account class selection docs by @FabijanC in #477
- Test Argent account support by @FabijanC in #481
- Expand get_class testing by @FabijanC in #380
- Enable CLI parameter specification via env vars by @FabijanC in #483
- Pending block and state improvements by @mikiw in #480
- Fix typos in code comments by @taikoonwang in #486
- Support disabling account impersonation by @marioiordanov in #488
- Add Docker dumping docs by @FabijanC in #489
- Release v0.0.7 by @FabijanC in #490
New Contributors
- @taikoonwang made their first contribution in #486
Full Changelog: v0.0.6...v0.0.7
v0.0.6
Usage related changes
- Migrated to a separate website at https://0xspaceshard.github.io/starknet-devnet-rs
- Block manipulation improved:
- Enabled request and response body logging - docs
- Introduced account impersonation
- Gas specification improved; new params:
--gas-price-strk <STRK>
--data-gas-price-strk <STRK>
- Introduced
--lite-mode
- docs - Bugfix of forking when origin uses HTTPS
- Bugfix of predeployed account constructor execution
- Introduced endpoint
/config
for retrieving current Devnet configuration - docs - Improved Sierra compilation error handling
amount
property of response ofGET /account_balance
changed to string
Development related changes
- Prepared mac binary building for CircleCI executor deprecation
- Improved benchmarking
- Using codespell check
Merged PRs
- Fix predeployed account constructor simulation by @FabijanC in #431
- Change balance amount type to String by @FabijanC in #432
- Introduce config endpoint by @FabijanC in #433
- cairo lang errs by @lordshashank in #435
- feat: add codespell workflow for CI by @xiaolou86 in #443
- Improve code spell check by @FabijanC in #447
- Block on demand by @mikiw in #430
- Issue 387, Set gas price by @Hueber9500 in #448
- Introduce lite-mode by @lordshashank in #444
- Add generalized benchmarking script by @FabijanC in #459
- Improve testing and contributing by @FabijanC in #454
- feat: Add memory performance tests by @hhamud in #439
- Add memory component to Python benchmarking script by @FabijanC in #464
- Update of getBlockWithTxHashes and getStateUpdate by @mikiw in #461
- Update of get_block_with_txs and get_block_with_receipts for peding blocks by @mikiw in #466
- Update deps by @marioiordanov in #469
- Logging request and responses by @marioiordanov in #455
- Use M1 executor for mac binary builds by @FabijanC in #465
- Test forking of HTTPS origin by @FabijanC in #470
- Account impersonation by @marioiordanov in #436
- Improve docs and migrate to separate website by @FabijanC in #472
- Release v0.0.6 by @FabijanC in #473
New Contributors
- @lordshashank made their first contribution in #435
- @xiaolou86 made their first contribution in #443
- @Hueber9500 made their first contribution in #448
- @hhamud made their first contribution in #439
Full Changelog: v0.0.5...v0.0.6
v0.0.5
Usage related changes
- Providing JSON-RPC API v0.7.1
- Supporting Starknet v0.13.1.1
- Updates on block manipulation:
- On spawning Devnet, an empty origin block is generated
- Supporting block abortion
- Using Sepolia chain ID
- Starting with this release, platform-specific pre-compiled binaries are attached in the Assets section (more info).
- Improved installation docs
- Updates on forking:
- A warning is logged if spawned Devnet has a config mismatch with the origin.
- Bugfix in starknet_getClassAt
- Forking not fully supported if the origin URL uses HTTPS scheme (issue)
- Always predeclaring both Cairo0 and Cairo1 accounts
- Still predeploying only the one kind selected by user (docs)
- Large HTTP requests supported via configurable body size (
--request-body-size-limit <BYTES>
)
Development related changes
- Transaction handling improved by refactoring
- Internally compiling to CASM using USC
- Improved development docs.
- Improved GitHub templates
- Artifact paths resolved and loaded at compile-time
- Dockerization made simpler
Merged PRs
- Abort blocks by @mikiw in #388
- Maintenance: improve block-manipulation tests, publishing executor, docs, PR template by @FabijanC in #401
- blockifier 0.6.0-rc.0 by @marioiordanov in #399
- Universal Sierra Compiler by @marioiordanov in #403
- rpc 0.7.1 by @marioiordanov in #404
- Use Sepolia chain ID by @FabijanC in #396
- Always predeclare Cairo0 and Cairo1 account classes by @FabijanC in #402
- Update Devnet Logo aligned with Starknet new logo by @leoyoung-69 in #406
- Warn on forking mismatch by @FabijanC in #409
- Make request body size limit configurable by @FabijanC in #410
- Refactor Transaction enum by @marioiordanov in #411
- Update blockifier to 0.6.0-rc1 by @FabijanC in #415
- Refactor add_<declare/invoke/deploy_account>_transactions by @marioiordanov in #414
- Update Starknet version constant to 0.13.1.1; Update docs on updating by @FabijanC in #417
- Add empty genesis block and remove init state by @mikiw in #412
- Fix of value_name for dump_on by @mikiw in #418
- Fix typos by @omahs in #420
- Build binaries for publishing on GitHub by @FabijanC in #416
- Fix starknet_getClassAt in forked mode by @FabijanC in #421
- Add script for faster binary fetching [skip ci] by @FabijanC in #423
- Fix binary fetching script by @FabijanC in #425
- Release 0.0.5 by @FabijanC in #427
New Contributors
- @leoyoung-69 made their first contribution in #406
- @omahs made their first contribution in #420
Full Changelog: v0.0.4...v0.0.5
v0.0.4
Usage related changes
- Supporting JSON-RPC API v0.7.0
- Introducing forking support: docs
- Endpoint for checking
/account_balance
: docs - New CLI param:
--data-gas-price <PRICE>
- The default Testnet chain ID used by Devnet is still
SN_GOERLI
- will be addressed in an upcoming release
- Fixed bugs:
- Account balance no longer overflowing on minting
- Compiling sierra to casm only once when fetching the class
Development related changes
- Major refactorings before block abortion (pending) and forking
- Fixed Dependabot alerts
- Changed job parallelization on CircleCI (separate unit and e2e testing, using 3 jobs for the latter)
Merged PRs
- Pre-forking state refactor by @FabijanC in #329
- Fix panic on binding to occupied port by @taco-paco in #371
- StarknetBlocks struct change by @mikiw in #375
- Use released version of RPC 0.7.0 by @marioiordanov in #382
- added data_gas_price cli argument by @marioiordanov in #384
- Replace goerli in issue template by @FabijanC in #386
- Fix account balance overflow by @JimmyFate in #377
- Use BigUint instead of U256 for balance; remove primitive-types by @FabijanC in #390
- Missing data gas price in rpc endpoints by @marioiordanov in #392
- Add /account_balance endpoint by @FabijanC in #394
- Introduce forking by @FabijanC in #365
- Fix Dependabot alerts: tokio, hyper, mio by @FabijanC in #397
- Make data availability mode as Blob by @marioiordanov in #395
- Release 0.0.4 by @FabijanC in #398
New Contributors
- @JimmyFate made their first contribution in #377
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Usage related changes
- Supporting JSON-RPC 0.7.0-rc1
- Updated predeployed accounts and ERC20 contracts to OpenZeppelin 0.8.1
- Defaulting to Cairo 1 predeployed accounts (used to be Cairo 0)
- Using a modified version of ERC20
/set_time
endpoint now accepts JSON paramgenerate_block
that skips block generation if set totrue
(defaults tofalse
)- This way you can ensure that the next transaction you send will be using the set time
- Fixed bugs
- Extra properties in some RPC responses
- Empty object params
Development related changes
- Using rust-toolchain 1.74.0
Merged PRs
- Remove additional fields returned compared to RPC spec by @marioiordanov in #335
- Use more idiomatic bash by @FabijanC in #338
- Update contracts to 0.8.1 by @mikiw in #336
- Move trace calculation; refactor from method to function by @FabijanC in #340
- Final changes related to crate renaming by @FabijanC in #341
- Removed partially custom BlockId implementation by @marioiordanov in #344
- use version 1.1.0 of cargo-get by @marioiordanov in #347
- Lock cargo get by @marioiordanov in #348
- Fix empty object params bug by @jelilat in #346
- Fix empty params deserialization by @FabijanC in #351
- change account-class default_value to cairo1 by @mikiw in #339
- Comment out of owner and spender [key] attributes in erc20 contract by @mikiw in #356
- Incorporate pending block generation into new block generation by @FabijanC in #359
- Test deployment trace by @FabijanC in #361
- Add set time generate_block option by @mikiw in #362
- rpc 0.7.0 by @marioiordanov in #364
- Upgrade zerocopy, unsafe-libyaml, h2; use rust 1.74; update cache key by @FabijanC in #354
- Release 0.0.3 by @marioiordanov in #368
New Contributors
Full Changelog: v0.0.2...v0.0.3
v0.0.2
Initial official crate release. Further releases shall contain diff since the last release.
- Available with
cargo install starknet-devnet
- Supporting JSON-RPC v0.6.0
Full Changelog: https://github.com/0xSpaceShard/starknet-devnet-rs/commits/v0.0.2