github casper-network/casper-node v1.4.3

latest releases: v1.5.8, v1.5.7, v1.5.6...
2 years ago

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.

[2.0.1] - 2021-11-4

Test Support (casper-node/execution_engine_testing/test_support)

Changed

  • Change the path detection logic for compiled Wasm as used by the casper-node monorepo.

Deprecated

  • Deprecate the test-support feature. It had and continues to have no effect when enabled.

[2.0.0] - 2021-11-01

Test Support (casper-node/execution_engine_testing/test_support)

Added

  • Provide fine-grained support for testing all aspects of smart contract execution, including:
  • WasmTestBuilder for building and running a test to exercise a smart contract
  • DeployItemBuilder for building a DeployItem from a smart contract
  • ExecuteRequestBuilder for building an ExecuteRequest to execute a given smart contract
  • AdditiveMapDiff to allow easy comparison of two AdditiveMaps
  • StepRequestBuilder for building a StepRequest (generally only used by the execution engine itself)
  • UpgradeRequestBuilder for building an UpgradeRequest (generally only used by the execution engine itself)
  • Provide InMemoryWasmTestBuilder which will be suitable in most cases for testing a smart contract
  • Provide LmdbWasmTestBuilder can be used where global state needs to be persisted after execution of a smart contract
  • Provide several helper functions in utils module
  • Provide several default consts and statics useful across many test scenarios

Removed

  • Remove coarse-grained support and newtypes for testing smart contracts, including removal of:
  • Account
  • AccountHash
  • Error
  • Session
  • SessionBuilder
  • SessionTransferInfo
  • TestContext
  • TestContextBuilder
  • Value

[1.4.4] - 2021-11-18

Casper Types (casper-node/types/)

Fixed

  • Revert the accidental change to the std feature causing a broken build when this feature is enabled.

1.4.3 - 2021-11-17

1.4.2 - 2021-11-11

Casper Node (casper-node/node/)

Changed

  • There are now less false warnings/errors regarding dropped responders or closed channels during a shutdown, where they are expected and harmless.
  • Execution transforms are ordered by insertion order.

Removed

  • The config option consensus.highway.unit_hashes_folder has been removed.

Fixed

  • The block proposer component now retains pending deploys and transfers across a restart.

Execution Engine (casper-node/execution_engine/)

Changed

  • Execution transforms are returned in their insertion order.

Removed

  • Removed SystemContractCache as it was not being used anymore

Casper Types (casper-node/types/)

Added

  • Add checksummed hex encoding following a scheme similar to EIP-55.

Don't miss a new casper-node release

NewReleases is sending notifications on new releases.