From 1ffeac92b95a0fec176783908a92b32ff5aa6e42 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 12 Nov 2021 09:53:25 +0000 Subject: [PATCH 1/2] Update schedule.rs Bump code_len until hashmap map issue is sorted out --- frame/contracts/src/schedule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/contracts/src/schedule.rs b/frame/contracts/src/schedule.rs index dd066bfbe41ee..4367fa3a2472d 100644 --- a/frame/contracts/src/schedule.rs +++ b/frame/contracts/src/schedule.rs @@ -483,7 +483,7 @@ impl Default for Limits { subject_len: 32, call_depth: 32, payload_len: 16 * 1024, - code_len: 128 * 1024, + code_len: 512 * 1024, } } } From e4f7084715e7fb4f6b901138984e3402b3cedbe4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 17:05:01 +0000 Subject: [PATCH 2/2] Bump pretty_assertions from 1.0.0 to 1.3.0 Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.0.0 to 1.3.0. - [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases) - [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.0.0...v1.3.0) --- updated-dependencies: - dependency-name: pretty_assertions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 +++++++++--- frame/support/Cargo.toml | 2 +- frame/support/test/Cargo.toml | 2 +- primitives/state-machine/Cargo.toml | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16a24f284dc4d..954a527c91e2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6792,14 +6792,14 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.0.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0cfe1b2403f172ba0f234e500906ee0a3e493fb81092dac23ebefe129301cc" +checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" dependencies = [ - "ansi_term", "ctor", "diff", "output_vt100", + "yansi", ] [[package]] @@ -11969,6 +11969,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + [[package]] name = "zeroize" version = "1.4.3" diff --git a/frame/support/Cargo.toml b/frame/support/Cargo.toml index efc7caab1bd4e..7a362ab59cc0b 100644 --- a/frame/support/Cargo.toml +++ b/frame/support/Cargo.toml @@ -38,7 +38,7 @@ sp-core-hashing-proc-macro = { version = "4.0.0-dev", path = "../../primitives/c [dev-dependencies] assert_matches = "1.3.0" -pretty_assertions = "1.0.0" +pretty_assertions = "1.3.0" frame-system = { version = "4.0.0-dev", path = "../system" } parity-util-mem = { version = "0.10.2", default-features = false, features = ["primitive-types"] } diff --git a/frame/support/test/Cargo.toml b/frame/support/test/Cargo.toml index 975e0830ab0e4..253c40b6b321d 100644 --- a/frame/support/test/Cargo.toml +++ b/frame/support/test/Cargo.toml @@ -24,7 +24,7 @@ sp-core = { version = "4.1.0-dev", default-features = false, path = "../../../pr sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" } sp-version = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/version" } trybuild = "1.0.53" -pretty_assertions = "1.0.0" +pretty_assertions = "1.3.0" rustversion = "1.0.6" frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" } # The "std" feature for this pallet is never activated on purpose, in order to test construct_runtime error message diff --git a/primitives/state-machine/Cargo.toml b/primitives/state-machine/Cargo.toml index b9e5c1d4f3f0f..7ae42513ea1af 100644 --- a/primitives/state-machine/Cargo.toml +++ b/primitives/state-machine/Cargo.toml @@ -34,7 +34,7 @@ tracing = { version = "0.1.29", optional = true } [dev-dependencies] hex-literal = "0.3.4" sp-runtime = { version = "4.0.0", path = "../runtime" } -pretty_assertions = "1.0.0" +pretty_assertions = "1.3.0" rand = "0.7.2" [features]