Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@sacherjj sacherjj released this 04 Jul 12:18
438b660

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.