Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into feat-1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-casperlabs committed Nov 6, 2023
2 parents 6c248fc + ec27792 commit a446ebf
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
9 changes: 7 additions & 2 deletions execution_engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ All notable changes to this project will be documented in this file. The format
* Add chainspec option `core.refund_handling` that specifies how payment refunds are handled.
* Add chainspec option `core.fee_handling` that specifes how transaction fees are handled.
* Add chainspec option `core.administrators` that, if set, contains list of administrator accounts. This option makes sense only for private chains.


* Add support for a new FFI function `enable_contract_version` for enabling a specific version of a contract.

### Changed
* Default value for `max_stack_height` is increased to 500.
* `current stack height` is written to `stderr` in case `Trap(Unreachable)` error is encountered during Wasm execution.
* Tweak upgrade logic transforming withdraw purses to early exit if possible.
* Lower the default gas costs of opcodes.
- Set the cost for branching opcodes to 35,000 (`br`, `br_if`, `br_table`).
- Set the cost for call opcodes to 68,000 (`call`, `call_indirect`).



## 6.0.0

Expand Down
20 changes: 17 additions & 3 deletions node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,28 @@ All notable changes to this project will be documented in this file. The format
* Add a `lock_status` field to the JSON representation of the `ContractPackage` values.
* Unit tests can be run with JSON log output by setting a `NODE_TEST_LOG=json` environment variable.
* New environment variable `CL_EVENT_QUEUE_DUMP_THRESHOLD` to enable dumping of queue event counts to log when a certain threshold is exceeded.

### Fixed
* Now possible to build outside a git repository context (e.g. from a source tarball). In such cases, the node's build version (as reported vie status endpoints) will not contain a trailing git short hash.
* Add initial support for private chain.
* Add support for CA signed client certificates for private chain.
* Add a Highway Analysis tool for checking the state of the consensus.

### Changed
* The `state_identifier` parameter of the `query_global_state` JSON-RPC method is now optional. If no `state_identifier` is specified, the highest complete block known to the node will be used to fulfill the request.
* The underlying network protocol has been changed, now supports multiplexing for better latency and proper backpressuring across nodes.
* Any metrics containing queue names "network_low_priority" and "network_incoming" have had said portion renamed to "message_low_priority" and "message_incoming".
* `state_get_account_info` RPC handler can now handle an `AccountIdentifier` as a parameter.
* Replace the `sync_to_genesis` node config field with `sync_handling`.
* The new `sync_handling` field accepts three values:
- `genesis` - node will attempt to acquire all block data back to genesis
- `ttl` - node will attempt to acquire all block data to comply with time to live enforcement
- `nosync` - node will only acquire blocks moving forward

### Fixed
* Now possible to build outside a git repository context (e.g. from a source tarball). In such cases, the node's build version (as reported vie status endpoints) will not contain a trailing git short hash.
* Remove an error that would unnecessarily be raised when a node includes its highest orphaned block within the current era.
* Short-circuit initialization of block and deploy metadata DB to resolve delays after an upgrade.

### Security
* Update `openssl` to version 0.10.55 as mitigation for [RUSTSEC-2023-0044](https://rustsec.org/advisories/RUSTSEC-2023-0044).

### Removed
* There is no more weighted rate limiting on incoming traffic, instead the nodes dynamically adjusts allowed rates from peers based on available resources. This resulted in the removal of the `estimator_weights` configuration option and the `accumulated_incoming_limiter_delay` metric.
Expand Down
7 changes: 7 additions & 0 deletions smart_contracts/contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ All notable changes to this project will be documented in this file. The format



## [Unreleased]

### Added
* Add `storage::enable_contract_version` for enabling a specific version of a contract.



## 3.0.0

### Added
Expand Down
6 changes: 6 additions & 0 deletions types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ All notable changes to this project will be documented in this file. The format

## Unreleased

### Added
* Add a new `SyncHandling` enum, which allows a node to opt out of historical sync.

### Changed
* Update `k256` to version 0.13.1.

### Security
* Update `ed25519-dalek` to version 2.0.0 as mitigation for [RUSTSEC-2022-0093](https://rustsec.org/advisories/RUSTSEC-2022-0093)

Expand Down

0 comments on commit a446ebf

Please sign in to comment.