From 038d94612c6b6e51f06dc124bb320085485f588d Mon Sep 17 00:00:00 2001 From: FabijanC Date: Thu, 21 Nov 2024 18:41:01 +0100 Subject: [PATCH] Hardcode parity-scale-code version to 3.6.12 --- Cargo.lock | 2 ++ Cargo.toml | 4 ++++ crates/starknet-devnet-types/Cargo.toml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index f3c964c33..4f299a5cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5906,6 +5906,8 @@ dependencies = [ "cairo-vm", "flate2", "num-bigint", + "parity-scale-codec", + "parity-scale-codec-derive", "serde", "serde_json", "starknet-core", diff --git a/Cargo.toml b/Cargo.toml index 796d89163..e7295bbfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -118,3 +118,7 @@ lazy_static = { version = "1.4.0" } # Benchmarking criterion = { version = "0.3.4", features = ["async_tokio"] } + +# https://github.com/paritytech/parity-scale-codec/issues/656 +parity-scale-codec = "=3.6.12" +parity-scale-codec-derive = "=3.6.12" diff --git a/crates/starknet-devnet-types/Cargo.toml b/crates/starknet-devnet-types/Cargo.toml index 5eb3ad7ef..3da7f9c69 100644 --- a/crates/starknet-devnet-types/Cargo.toml +++ b/crates/starknet-devnet-types/Cargo.toml @@ -31,6 +31,8 @@ usc = { workspace = true } # Cairo-lang dependencies cairo-lang-compiler = { workspace = true } cairo-lang-casm = { workspace = true } +parity-scale-codec = { workspace = true } +parity-scale-codec-derive = { workspace = true } cairo-lang-defs = { workspace = true } cairo-lang-diagnostics = { workspace = true } cairo-lang-filesystem = { workspace = true } @@ -58,4 +60,6 @@ ignored = [ "cairo-lang-sierra-to-casm", "cairo-lang-syntax", "cairo-lang-utils", + "parity-scale-codec", + "parity-scale-codec-derive", ]