From 78d0239b4132be3da77445152ed962c73882a8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20M=2E=20Gonz=C3=A1lez?= Date: Fri, 8 Sep 2023 14:06:33 -0300 Subject: [PATCH 1/2] Added estimate (referencing code_hash()). --- test-cases/own-code-hash/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test-cases/own-code-hash/README.md b/test-cases/own-code-hash/README.md index 957ee24..e940c10 100644 --- a/test-cases/own-code-hash/README.md +++ b/test-cases/own-code-hash/README.md @@ -28,7 +28,4 @@ Test 1 worked as expected in End-to-End but did not on Integration since it's [n ## Result -- Can it be implemented? -- How long will it take? -- Ideas for implementation -- Other notes +See estimate for code_hash(). From b057be960af32017a640076b30c10bc20073de85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20M=2E=20Gonz=C3=A1lez?= Date: Fri, 8 Sep 2023 14:08:43 -0300 Subject: [PATCH 2/2] Updated Cargo.toml to avoid broken parity-scale-codec version. --- test-cases/own-code-hash/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-cases/own-code-hash/Cargo.toml b/test-cases/own-code-hash/Cargo.toml index d4b8dbe..9651f13 100644 --- a/test-cases/own-code-hash/Cargo.toml +++ b/test-cases/own-code-hash/Cargo.toml @@ -19,7 +19,7 @@ e2e-tests = [] [dependencies] ink = { version = "4.2.1", default-features = false } -scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } +scale = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } [dev-dependencies]