Skip to content

Releases: casper-ecosystem/casper-client-rs

v2.0.0

04 Jul 12:18
438b660
Compare
Choose a tag to compare

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 and casper-execution-engine crates.
  • Add support for new node RPC method info_get_chainspec, used in the binary's new get-chainspec subcommand.
  • Add support for new node RPC method info_get_status, used in the binary's new get-node-status subcommand.
  • Add support for new node RPC method info_get_peers, used in the binary's new get-peers subcommand.
  • Add support for new node RPC method query_balance, used in the binary's new query-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 the ContractPackage 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 to get-account while retaining the previous name as an alias for backwards compatibility.
  • Rename subcommand get-era-info-by-switch-block to get-era-info while retaining the previous name as an alias for backwards compatibility.
  • Deprecated get-balance subcommand in favor of the newly added query-balance subcommand.

Removed

  • Remove the C library support.
  • Remove dependency on casper-node and casper-execution-engine crates.
  • Remove support for inputting non-default values for gas_price and dependencies in Deploy creation.
  • Remove partial merkle-proof validation of some JSON-RPC responses.

Fixed

  • Restore the -p short form of --public-key arg for get-account and account-address subcommands.

v1.6.0

15 May 14:08
63a311a
Compare
Choose a tag to compare

Changelog

1.6.0 2023-05-15

Add

  • Added a new subcommand get-era-summary which optionally takes a block identifier and returns an era summary from a Casper network.

v1.5.1

08 Mar 21:27
e421e81
Compare
Choose a tag to compare

Changelog

1.5.1 - 2023-03-08

Changed

  • Update dependencies.

v1.5.0

13 May 18:28
6e5671c
Compare
Choose a tag to compare

Changelog

1.5.0 - 2022-05-13

Changed

  • Update dependencies.

v1.4.4

06 Apr 20:09
bd8fbcc
Compare
Choose a tag to compare

Changelog

1.4.4 - 2022-04-06

Changed

  • Update dependencies.

Fixed

  • Restore the -p short form of --public-key arg for get-account-info and account-address subcommands.