Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modified contract error in ApiError * remove pending transactions endpoint * add spec_version * added config file where the version of the rpc_spec is specified * add get_transaction_execution_and_finality_status, make TransactionFinalityStatus non optional, remove create_rejected method * added starknet_version and l1_gas_price to block header and entry to config file * added constants for builtins names * execution resources struct * map transaction execution info to execution resources * use builtins constants in vm_resource_fee_cost setting * use txn execution info when generating a receipt * add check for empty string passed as abi when deserializing sierra class * removed empty file * test functionality for reading json-rpc spec and testing it against existing in/out structures * remove not needed test files * anotate request inputs with deny_unknown_fields so if there are any additions to the requests in the spec, the deserialization will fail * move models/state to types/rpc/state * improve algorithm for generating request responses of spec * extract ThinStateDiff logic generation into converter * replace PatriciaKeyHex with PatriciaKey * add state diff to transaction trace * add instructions to modify the spec * modify tests for simulated transactions * remove println * generate only required fields * tests for generated requests/responses from the spec * edit the spec * comments about extra fields not present in 0.5.0 spec * add execution info to get_receipt params * add StarknetResponse - enum for covering all return values from json rpc methods * return StarknetResponse from each method of json-rpc * changes to match 0.5.0 spec * dependencies * clippy + fmt * lock file * clippy fix * marked spec 0.5.0 * Update crates/starknet-server/tests/test_simulate_transactions.rs Co-authored-by: FabijanC <[email protected]> * remove comment * fmt * edit starknet_version * update starknet_version in config * added ordered event and ordered message to l1 * use thread_rng().gen_bool in do_for_boolean_primitive * improved generated_combined_schema readability * not needed serde attribute * fmt * added comment * added forgotten method mentioned in issue #248 * fix test * clippy * fmt --------- Co-authored-by: FabijanC <[email protected]>
- Loading branch information