Skip to content

Releases: casper-network/casper-node

v1.4.15

28 Apr 03:02
039d438
Compare
Choose a tag to compare

Changed

  • Modified JSON-RPCs chain_get_era_info_by_switch_block and chain_get_era_summary to use either Key::EraInfo or Key::EraSummary as appropriate in order to provide useful responses.

v1.4.14

18 Apr 15:21
f895572
Compare
Choose a tag to compare

Added

  • Node executes new prune process after executing each block, whereby entries under Key::EraInfo are removed in batches of size defined by the new chainspec option [core.prune_batch_size].
  • After executing a switch block, information about that era is stored to global state under a new static key Key::EraSummary.
  • Add a new JSON-RPC endpoint chain_get_era_summary to retrieve the information stored under Key::EraSummary.

Changed

  • Rather than storing an ever-increasing collection of era information after executing a switch block under Key::EraInfo, the node now stores only the information relevant to that era under Key::EraSummary.
  • Update openssl and openssl-sys to latest versions.

Removed

  • Remove TimeDiff, Timestamp and asymmetric key functionality (moved to casper-types crate).

Fixed

  • Fix issue in BlockValidator inhibiting the use of fallback peers to fetch missing deploys.

v1.4.13

03 Mar 14:35
c8db6a7
Compare
Choose a tag to compare

Better instrumentation of branching WASM Op Codes to allow reduction of gas costs while still providing attack protection.

private-1.4.8

18 Oct 15:37
2a92bae
Compare
Choose a tag to compare

Integrating the 1.4.8 security fixes into private-chain.

v1.4.8

25 Aug 15:27
b94c4f7
Compare
Choose a tag to compare

Changed:

  • Update to fix security issue

private-1.4.6

21 Jun 20:16
4f9a59e
Compare
Choose a tag to compare

Support for Private Chain configuration of 1.4.6.

v1.4.6

11 May 20:16
6e1f65e
Compare
Choose a tag to compare

Changed

  • Update dependencies to make use of scratch global state in the contract runtime.

v1.4.5

06 Apr 15:41
fb91868
Compare
Choose a tag to compare

1.4.5

Added

  • Add a temporary chainspec setting max_stored_value_size to limit the size of individual values stored in global state.
  • Add a chainspec setting minimum_delegation_amount to limit the minimal amount of motes that can be delegated by a first time delegator.
  • Add a chainspec setting block_max_approval_count to limit the maximum number of approvals across all deploys in a single block.
  • Add a finalized_approvals field to the GetDeploy RPC, which if true causes the response to include finalized approvals substituted for the originally-received ones.

Fixed

  • Include deploy approvals in block payloads upon which consensus operates.
  • Fixes a bug where historical auction data was unavailable via get-auction-info RPC.

v1.4.4

04 Jan 15:53
6962edb
Compare
Choose a tag to compare

Added immediate metric for commit step.
Rolled back mixed case checksum formatting for output hex.

v1.4.3

21 Dec 22:24
9aa22ac
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.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.