Skip to content

Commit 2a92bae

Browse files
casperlabs-bors-ng[bot]Michał PapierskisacherjjFraser999
authored
Merge #3310
3310: [private chain] Backport 1.4.8 fixes and support for CA signed client certificates r=mpapierski a=mpapierski This PR contains updates `feat-private-chain` for a new private chain release independent of 1.5.0: - Merge of v1.4.8 security release - Backport of #3291 After this PR is merged, it should be possible to release `private-1.4.8`. Co-authored-by: Michał Papierski <[email protected]> Co-authored-by: Joe Sacher <[email protected]> Co-authored-by: Fraser Hutchison <[email protected]> Co-authored-by: casperlabs-bors-ng[bot] <82463608+casperlabs-bors-ng[bot]@users.noreply.github.com>
2 parents 4f9a59e + de40b7a commit 2a92bae

57 files changed

Lines changed: 1992 additions & 399 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 178 additions & 101 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

execution_engine/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ All notable changes to this project will be documented in this file. The format
1111

1212

1313

14+
## 2.0.1
15+
16+
### Security
17+
* Implement checks before preprocessing Wasm to avoid potential OOM when initializing table section.
18+
* Implement checks before preprocessing Wasm to avoid references to undeclared functions or globals.
19+
20+
1421
## 2.0.0
1522

1623
### Changed

execution_engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "casper-execution-engine"
3-
version = "2.0.0" # when updating, also update 'html_root_url' in lib.rs
3+
version = "2.0.1" # when updating, also update 'html_root_url' in lib.rs
44
authors = ["Henry Till <[email protected]>", "Ed Hastings <[email protected]>"]
55
edition = "2018"
66
description = "CasperLabs execution engine crates."

execution_engine/src/core/engine_state/transfer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::{
1919

2020
/// A target mode indicates if a native transfer's arguments will resolve to an existing purse, or
2121
/// will have to create a new account first.
22-
#[derive(Copy, Clone, Debug, PartialEq)]
22+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
2323
pub enum TransferTargetMode {
2424
/// Unknown target mode.
2525
Unknown,
@@ -117,7 +117,7 @@ impl TryFrom<TransferArgs> for RuntimeArgs {
117117
///
118118
/// Purpose of this builder is to resolve native tranfer args into [`TransferTargetMode`] and a
119119
/// [`TransferArgs`] instance to execute actual token transfer on the mint contract.
120-
#[derive(Clone, Debug, PartialEq)]
120+
#[derive(Clone, Debug, PartialEq, Eq)]
121121
pub struct TransferRuntimeArgsBuilder {
122122
inner: RuntimeArgs,
123123
}

execution_engine/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! The engine which executes smart contracts on the Casper network.
22
3-
#![doc(html_root_url = "https://docs.rs/casper-execution-engine/2.0.0")]
3+
#![doc(html_root_url = "https://docs.rs/casper-execution-engine/2.0.1")]
44
#![doc(
55
html_favicon_url = "https://raw.githubusercontent.com/CasperLabs/casper-node/master/images/CasperLabs_Logo_Favicon_RGB_50px.png",
66
html_logo_url = "https://raw.githubusercontent.com/CasperLabs/casper-node/master/images/CasperLabs_Logo_Symbol_RGB.png",

execution_engine/src/shared/newtypes/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use uuid::Uuid;
77

88
/// A correlation id is a unique identifier which can be used to track the progress of a given
99
/// execution engine operation.
10-
#[derive(Clone, Copy, Debug, Default, Hash, PartialEq, Serialize)]
10+
#[derive(Clone, Copy, Debug, Default, Hash, PartialEq, Eq, Serialize)]
1111
pub struct CorrelationId(Uuid);
1212

1313
impl CorrelationId {

0 commit comments

Comments
 (0)