0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
100 stars 56 forks source link

Improve UX by allowing no params for JSON-RPC requests #543

Closed marioiordanov closed 1 week ago

marioiordanov commented 1 week ago

Usage related changes

solves #532 devnet_dump, devnet_getPredeployedAccounts, devnet_postmanFlush take optional parameters, therefore the params property of the JSON-RPC request can be omitted. The same applies to the HTTP endpoint.

Development related changes

Fixed utility methods Added new deserialization helper for constructing Optional types during deserialization

Checklist: