This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
Releases: 0xSpaceShard/starknet-devnet
Releases · 0xSpaceShard/starknet-devnet
v0.1.13
Usage
- Use cairo-lang 0.7.0 for internal execution (will allow deploying contracts compiled with 0.7.0).
- Support arrays of structs in function inputs.
- Include execution info in deploy transaction receipts.
- Calculate block hash correctly.
- Improve logging in case of version mismatch (mismatch between version used for compilation and version used by devnet).
Dev
- Convert tests from bash to python.
PRs
- Convert tests from Bash to Python by @FabijanC in #30
- Adapt to cairo-lang v0.7.0 by @FabijanC in #31
Full Changelog: v0.1.12...v0.1.13
v0.1.12
Usage
- Prevent Internal Server Error (500) from arising if deployment fails.
- Ignore duplicate deployments (e.g. in case of same salt).
Dev
- No developer-specific changes with this release.
PRs
Full Changelog: v0.1.11...v0.1.12
v0.1.11
Usage
- Add block support.
- Add partial receipt support (missing for deploy transcations; coming with next version of cairo-lang).
- Use official hash calculation function (instead of numbering tx hashes in order; block hash calculation coming with next version of cairo-lang).
Dev
- Add linter (pylint).
- Refactor:
- prepare for forking support
- introduce tx wrappers
- separate invoke/call in starknet_wrapper
PRs
- Add block support; Use consistent script naming by @FabijanC in #20
- Support linting; Add plugin-venv test by @FabijanC in #21
- Add partial receipt support by @FabijanC in #22
- Refactor to prepare for forking by @FabijanC in #23
- Add linting to CI; fix Readme support list by @FabijanC in #25
- Calculate transaction hashes properly by @dribeiro-ShardLabs in #24
- Refactor StarknetWrapper and TransactionWrapper by @FabijanC in #27
New Contributors
- @dribeiro-ShardLabs made their first contribution in #24
Full Changelog: v0.1.10...v0.1.11
v0.1.10
v0.1.9
What's Changed
- Fix "'type' object is not subscriptable" error for python versions < 3.9 by @Solpatium in #16
- Upgrade to v0.1.9 by @FabijanC in #17
New Contributors
- @Solpatium made their first contribution in #16
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
Usage
- Prevent
Internal Server Error
if deploying a contract compiled with an old compiler version. - Make the result of
starknet tx_status
more similar to that of Alpha testnet. - Support
starknet get_storage_at
. - Support
starknet get_code
. - Add lists of supported and unsupported Starknet CLI commands to Readme.
Dev
- Fix the plugin test (
test-plugin.sh
) to reflect the latest addition of--inputs
tohh starknet-deploy
. - Test
get_storage_at
andget_code
intest-cli.sh
and/ortest-cli-auth.sh
. - Improve testing:
- Test the new functionality.
- Read test settings from
settings.ini
.
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
Usage
- Prevent
Internal Server Error
from arising on deployment failure. Instead store the failed transaction and have it available for later queries. - Add disclaimer to Readme.
- Reduce startup logging.
- Store salt after deployment transactions.
- Adapt to Alpha v4:
- Use cairo-lang v0.6.0.
- Use block hash instead of block id.
- Add dummy support for
get_transaction_receipt
(not yet functional).
- Bump version to v0.1.7.
Dev
- Read cairo-lang version form
pyproject.toml
(reduce specifying the version in multiple locations in the project). - When setting up test example, stop copying
hardhat.config.ts
, use the default one. starknet-deploy
was temporarily disabled in tests. Enable it back.
Full Changelog: v0.1.6...v0.1.7