Skip to content

Releases: casper-ecosystem/casper-client-rs

v5.0.1

16 Mar 15:07
10329ed

Choose a tag to compare

Patch v5.0.1

Changed

  • Updated dependency of casper-types to version 7.0.0 to let the casper client be compatible with the v2.2.0 protocol of the casper node

v5.0.0

04 Aug 14:54
85b3c41

Choose a tag to compare

Modified

Extended the guardrails of checking the amount during a bid withdrawal to the following subcommand
    put-transaction invocable-entity
    put-transaction invocable-alias
    put-transaction package
    put-tranasaction package-alias
    put-deploy

The put-deploy guardrails only apply to invocations of the auction by hash or name, or via the auction package by contract package hash/name

Added the min-bid-override flag to the following commands
    put-transaction invocable-entity
    put-transaction invocable-alias
    put-transaction package
    put-tranasaction package-alias
    put-deploy

Providing the --min-bid-override flag to any of the subcommands will override the amount check from erroring. Additionally, the flag will also suprress any errors pertaining to checking the amount being withdrawn and return them as messages to stdout

v4.0.1

25 Jul 12:19
d4e6acc

Choose a tag to compare

v4.0.1

CHANGELOG:

  • Removed unwraps in the native withdraw bid subcommand that would cause the client to panic on a failed deserialization of the chainspec. The client cleanly unwinds and returns a CliError::FailedToParseChainspecBytes as an error instead

v4.0.0

14 Jul 15:17
62f2b4c

Choose a tag to compare

Release v4.0.0

Added

  • Added a new optional arg --major-version for the package-name and package-hash put-transaction subcommand which allows users to specify the major protocol version

Modified

  • Added two new variants to PackageWithMajorVersion and PackageAliasWithMajorVersion to TransactionBuilderParams enum which is defined in the client lib

v3.1.0

29 May 14:34
7fd608b

Choose a tag to compare

Release v3.1.0

Added

  • Add withdraw-bid-all subcommand allowing validators to completely unbond their stake without specifying their stake.

Changed

  • Updated withdraw-bid to return a warning if a validators withdraw will drop their sta

v3.0.1

16 Mar 19:51
305adf1

Choose a tag to compare

Client release compatible with casper-node 2.0.0

v2.0.0

04 Jul 12:18
438b660

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

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

Choose a tag to compare

Changelog

1.5.1 - 2023-03-08

Changed

  • Update dependencies.

v1.5.0

13 May 18:28
6e5671c

Choose a tag to compare

Changelog

1.5.0 - 2022-05-13

Changed

  • Update dependencies.