Releases: casper-ecosystem/casper-client-rs
Releases · casper-ecosystem/casper-client-rs
v5.0.1
v5.0.0
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
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::FailedToParseChainspecBytesas an error instead
v4.0.0
Release v4.0.0
Added
- Added a new optional arg
--major-versionfor thepackage-nameandpackage-hashput-transaction subcommand which allows users to specify the major protocol version
Modified
- Added two new variants to
PackageWithMajorVersionandPackageAliasWithMajorVersiontoTransactionBuilderParamsenum which is defined in the client lib
v3.1.0
v3.0.1
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-nodeandcasper-execution-enginecrates. - Add support for new node RPC method
info_get_chainspec, used in the binary's newget-chainspecsubcommand. - Add support for new node RPC method
info_get_status, used in the binary's newget-node-statussubcommand. - Add support for new node RPC method
info_get_peers, used in the binary's newget-peerssubcommand. - Add support for new node RPC method
query_balance, used in the binary's newquery-balancesubcommand. - 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_statusfield in the theContractPackagevalue.
Changed
- Update dependencies.
- Move the previous top-level library API, which targets CLI consumers, to a new module
cli. - Rename subcommand
get-account-infotoget-accountwhile retaining the previous name as an alias for backwards compatibility. - Rename subcommand
get-era-info-by-switch-blocktoget-era-infowhile retaining the previous name as an alias for backwards compatibility. - Deprecated
get-balancesubcommand in favor of the newly addedquery-balancesubcommand.
Removed
- Remove the C library support.
- Remove dependency on
casper-nodeandcasper-execution-enginecrates. - Remove support for inputting non-default values for
gas_priceanddependenciesinDeploycreation. - Remove partial merkle-proof validation of some JSON-RPC responses.
Fixed
- Restore the
-pshort form of--public-keyarg forget-accountandaccount-addresssubcommands.