This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
What's Changed
- remove storage module by @juanbono in #752
- chore: Bump starknet deps to 2.0.0 by @SantiagoPittella in #755
- Fix declare miscalculation by @mmsc2 in #760
- fix: generate
program_json
directly from program string by @MegaRedHand in #764 - chore: remove starknet-contract-class by @MegaRedHand in #766
- Change order of class storage to store after charge fee by @mmsc2 in #765
- bugfix: Mark program extra data as accessed by @fmoletta in #774
- Add docs for hash_utils by @matias-gonz in #771
- Doc StarknetRunner by @mmsc2 in #776
- refactor: change compute hinted_class_hash on ContractClass init by @SantiagoPittella in #775
- ERC20 test with cairo2 by @SantiagoPittella in #767
- Add documentation to transaction/mod module by @mmsc2 in #761
- Add documentation for declare v2 by @mmsc2 in #763
- Allow redeclare class by @matias-gonz in #769
- feat: reexport whole
felt
module by @MegaRedHand in #781 - feat: improve
ContractClass
parsing by @MegaRedHand in #779 - Update verify_version by @matias-gonz in #777
- fix: change order of arguments in fee transfer's calldata by @MegaRedHand in #783
- Add documentation for gas_usage by @matias-gonz in #778
- DeclareV2 class hash fix by @kkovaacs in #788
- BlockHashDoc by @mmsc2 in #785
- InvokeDoc by @mmsc2 in #782
- Adds tests related to class hash: by @SantiagoPittella in #801
- Add hash_value to l1 handler new by @SantiagoPittella in #802
- perf: move arg for to_cairo_runner_program by @Oppen in #793
- New method for StateDIff by @mmsc2 in #809
- New methods for tx creation w hash by @SantiagoPittella in #805
- add new_with_hinted_class_hash method for contract class by @SantiagoPittella in #806
- fix message fee estimation by @SantiagoPittella in #811
- Deploy Doc by @mmsc2 in #804
- Remove unneeded dependencies by @kkovaacs in #812
- Add CASM class hash by @SantiagoPittella in #814
- refactor: separate DeclareV2::new_with_sierra_class_hash by @Oppen in #807
- Document InMemoryStateReader by @matias-gonz in #818
- changed failedHash to hashError by @fguthmann in #817
- Add documentation to the syscall_request module by @xqft in #820
- Add version query by @mmsc2 in #810
- Add class hash check for declarev2 by @SantiagoPittella in #819
- Add new constructor declare v2 by @SantiagoPittella in #823
- Fix query version bit flag being unsupported in versions other than 0 by @xqft in #825
- Add reverted transactions by @matias-gonz in #813
- Update charge fee and add n_steps for reverted transactions by @matias-gonz in #787
- chore: implement
Display
instead ofToString
by @MegaRedHand in #828 - bump version 0.3.0 by @juanbono in #831
- docs:
definitions::block_context
module by @MegaRedHand in #829 - Add syscall_reponse docs by @xqft in #827
- Docs transaction_type by @matias-gonz in #835
- ci: run doctests in CI by @MegaRedHand in #830
- Adjust nonce validity with blockifier by @SantiagoPittella in #839
- ci: split test running into multiple jobs by @MegaRedHand in #852
- use Felt252 for chain ids by @SantiagoPittella in #847
- Remove unused field in BlockInfo by @SantiagoPittella in #848
- chore: use env var for cache paths by @MegaRedHand in #853
- Fix actual_fee calculation for v0 by @matias-gonz in #838
- Add from_program_json_and_class_hash by @matias-gonz in #836
- added nextest to make file by @fguthmann in #856
- Modify errors that are hashing errors to be HashError by @fguthmann in #858
- chore: simplify Cairo compiler version change in Makefile by @MegaRedHand in #857
- Fix Deploy not declaring class by @matias-gonz in #865
- chore: remove
mimalloc
feature by @MegaRedHand in #854 - rollback compiler version by @SantiagoPittella in #868
- Fix transaction resources calculations by @matias-gonz in #849
- Ignore max_fee field during fee estimation by @xqft in #869
- Add documentation to syscalls/deprecated_syscall_response module by @fguthmann in #866
- Add documentation to syscalls/deprecate_syscall_request by @fguthmann in #867
- add rpc state by @SantiagoPittella in #851
- Added documentation to state/state_cache module by @fguthmann in #859
- Use cairo lang 2.1.0 rc2 by @SantiagoPittella in #863
- Add update_initial_values call to estimate_fee by @matias-gonz in #874
- Add Infura API key env var intructions by @matias-gonz in #879
- feat: add
keccak
syscall support by @MegaRedHand in #794 - refactor: use retain for error messages by @Oppen in #872
- update to rc4 by @juanbono in #881
- Release version 0.3.1 by @juanbono in #882
- move keccak contract to another directory by @juanbono in #885
- Fix sierra class hash calculation by @juanbono in #886
- Fail with an Err transactions whose calculated fee exceed
max_fee
by @xqft in #892 - Fix test_get_nonce_at by @xqft in #910
- fix get_sorted_events bug by @juanbono in #912
- Added documentations to syscalls/deprecated_syscall_handler module by @fguthmann in #883
- Add RPCState::get_transaction_trace by @matias-gonz in #909
- Test test_invoke_testnet2_0x019feb888a2d53ffddb7a1750264640afab8e9c23… by @matias-gonz in #893
- Test multi syscall by @fguthmann in #687
- Deserialize CallInfo.internal_calls by @matias-gonz in #915
- Add documentations to core/contract_address module by @fguthmann in #900
- Add more transaction tests and fee investigation by @juanbono in #914
- Add get_block_info to RPC StateReader by @fguthmann in #918
- Add function to simplify tests and test recent txs by @juanbono in #921
- Add documentation to core/transaction_hash module by @fguthmann in #899
- add changes of inner call info to the syscall handler storage state by @juanbono in #925
- transaction: remove dbg!() by @kkovaacs in #928
- Improve installation steps README.md by @juanbono in #930
- Change Box to Arc for CompiledClass by @fguthmann in #926
- Fix
get_block_info
test. by @azteca1998 in #935 - Added Starknet API / Blockifier RPC State Reader by @juanbono in #927
- Deserialize transactions too on the block info for the Rpc Reader SN by @edg-l in #961
- Unify deprecated and casm contract caches. by @azteca1998 in #937
- Update README with Telegram group link and badge by @juanbono in #843
- From/TryFrom starknet api types by @mmsc2 in #962
- Fix gas/fee price type consistency (to
u128
). by @azteca1998 in #987 - Fix
ExecutionResources::increment_syscall_counter
by @fmoletta in #971 - minor code cleanup by @edg-l in #968
- Added fee transfer storage update into
count_actual_storage_changes()
by @xqft in #960 - Remove unwrap from codebase. by @azteca1998 in #1000
- refactor/ fix TryFrom InvokeTransaction into a standalone method on InvokeFunction by @edg-l in #999
- Deprecate old RPC StateReader in favor of
starknet_api
compatible one, support SiR execution by @xqft in #967 - perf: remove clone from compute_sierra_class_hash by @Oppen in #1008
- fix: Read before writing when executing the deprecated version of
storate_write
syscall by @fmoletta in #1006 - BREAKING:
StateReader::get_storage_at
return zero by default by @fmoletta in #1011 - BREAKING:
StateReader::get_class_hash_at
return zero by default by @fmoletta in #1012 - RPC use test_case with local cache and add more tests by @edg-l in #970
- Update cache initial values with write-only accesses in
CachedState::count_actual_storage_changes
by @fmoletta in #1009 - Refactor new RPC into several files by @edg-l in #1007
- Fix storage changes count for transactions with fee transfers by @fmoletta in #1015
- fix estimate fee missing casmclasscache by @marioiordanov in #916
- fix: declare v0 requires max_fee=0, consider for simulation by @Oppen in #1017
- Remove redundant
tx_type
field from transactions. by @azteca1998 in #1019 - Remove old RPC state reader and rename the new one by @juanbono in #1020
- Add contract class cache stats by @fguthmann in #958
- add tests and remove ignore on fixed ones by @juanbono in #1021
- perf: refactor substract_mappings and friends to avoid clones by @edg-l in #1023
- Fix transactions bypassing the max_fee by introducing new revert logic by @xqft in #901
- fix get_sorted_events issue by @juanbono in #1024
- pin version of json pythonic by @juanbono in #1026
- update version by @juanbono in #1028
New Contributors
- @fguthmann made their first contribution in #817
- @marioiordanov made their first contribution in #916
Full Changelog: 0.2.0...v0.4.0