Releases: 0xSpaceShard/starknet-devnet-rs
Releases · 0xSpaceShard/starknet-devnet-rs
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