Releases: casper-ecosystem/casper-client-rs
Releases · casper-ecosystem/casper-client-rs
v2.0.0
Changelog
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog].
2.0.0 - 2023-06-28
Added
- Add new general-purpose API to library, not specific to CLI consumers.
- Add types to avoid depending upon
casper-node
andcasper-execution-engine
crates. - Add support for new node RPC method
info_get_chainspec
, used in the binary's newget-chainspec
subcommand. - Add support for new node RPC method
info_get_status
, used in the binary's newget-node-status
subcommand. - Add support for new node RPC method
info_get_peers
, used in the binary's newget-peers
subcommand. - Add support for new node RPC method
query_balance
, used in the binary's newquery-balance
subcommand. - Add support for new node RPC method
speculative_exec
, by adding a flag in the Deploy related subcommands. - Add support for passing variable-length byte lists as simple args in payment and session args.
- Add support for passing fixed-length byte arrays as simple args in payment and session args.
- Add support for passing payment and session args as JSON.
- Add support for new
lock_status
field in the theContractPackage
value.
Changed
- Update dependencies.
- Move the previous top-level library API, which targets CLI consumers, to a new module
cli
. - Rename subcommand
get-account-info
toget-account
while retaining the previous name as an alias for backwards compatibility. - Rename subcommand
get-era-info-by-switch-block
toget-era-info
while retaining the previous name as an alias for backwards compatibility. - Deprecated
get-balance
subcommand in favor of the newly addedquery-balance
subcommand.
Removed
- Remove the C library support.
- Remove dependency on
casper-node
andcasper-execution-engine
crates. - Remove support for inputting non-default values for
gas_price
anddependencies
inDeploy
creation. - Remove partial merkle-proof validation of some JSON-RPC responses.
Fixed
- Restore the
-p
short form of--public-key
arg forget-account
andaccount-address
subcommands.