From 2b90c75c046848a1fcdf791eff8404d82fda4503 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Mon, 13 Sep 2021 20:26:16 +0300 Subject: [PATCH] chore(ethereum-types) enable rlp --- Cargo.lock | 13 +++++++++++++ ethers-core/Cargo.toml | 1 + 2 files changed, 14 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 76220262c..2876be1a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -825,6 +825,7 @@ checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972" dependencies = [ "crunchy", "fixed-hash", + "impl-rlp", "impl-serde", "tiny-keccak", ] @@ -837,6 +838,7 @@ checksum = "0dd6bde671199089e601e8d47e153368b893ef885f11f365a3261ec58153c211" dependencies = [ "ethbloom", "fixed-hash", + "impl-rlp", "impl-serde", "primitive-types", "uint", @@ -921,6 +923,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "ethabi", + "ethereum-types", "futures-util", "generic-array 0.14.4", "glob", @@ -1433,6 +1436,15 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "impl-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + [[package]] name = "impl-serde" version = "0.3.1" @@ -1940,6 +1952,7 @@ checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" dependencies = [ "fixed-hash", "impl-codec", + "impl-rlp", "impl-serde", "uint", ] diff --git a/ethers-core/Cargo.toml b/ethers-core/Cargo.toml index 0ed84d52d..a48540697 100644 --- a/ethers-core/Cargo.toml +++ b/ethers-core/Cargo.toml @@ -13,6 +13,7 @@ keywords = ["ethereum", "web3", "celo", "ethers"] rlp = { version = "0.5.0", default-features = false } # ethabi = { version = "14.1.0", default-features = false } ethabi = { git = "https://github.com/rust-ethereum/ethabi/", branch = "master" } +ethereum-types = { version = "0.12.0", default-features = false, features = ["serialize", "rlp"] } arrayvec = { version = "0.7.1", default-features = false } rlp-derive = { version = "0.1.0", default-features = false }