This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
v0.5.4
Usage related changes
- JSON-RPC updates
simulateTransaction
supported- Using parameter
transactions
instead oftransaction
- Other trace methods not yet supported
- Using parameter
getBlockWithTxs
,getBlockWithTxHashes
andgetTransactionByHash
now can return DeclareV2 (Cairo 1) transactions
- Improved logging; introduced new flags
--verbose
--hide-predeployed-contracts
--hide-predeployed-accounts
is deprecated
--hide-server-logs
to hide HTTP server logs
- Customizable compiler args:
- Since supporting Cairo 1 declaration, Devnet has been recompiling the contracts with a hardcoded set of flags
- Set a custom set of flags by providing a single space-separated string to
--compiler-args
- default is
--compiler-args "--add-pythonic-hints --allowed-libfuncs-list-name experimental_v0.1.0"
- default is
Merged PRs
- Support for JSON RPC simulateTransaction method by @mikiw in #492
- Renamed transaction param for rpc simulateTransactions by @ivpavici in #499
- Fix
rpc_declare_transaction
logic to also return DeclareV2 by @tomek0123456789 in #500 - Fix failing test by @tomek0123456789 in #502
- Improve logging by @tonypony220 in #487
- Fix for simulated_transactions format by @mikiw in #503
- Make compiler args customizable by @FabijanC in #504
- Minor modification of #487 (logging polish) by @FabijanC in #505
- Refactor estimation and simulation by @FabijanC in #506
Full Changelog: v0.5.3...v0.5.4