diff --git a/contract-address/CHANGELOG.md b/contract-address/CHANGELOG.md index 44a70eb69..583ee8569 100644 --- a/contract-address/CHANGELOG.md +++ b/contract-address/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.6.0] - 2021-01-27 +### Breaking +- Updated `ethereum-types` to 0.11. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `keccak-hash` to 0.7. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.5.0] - 2021-01-05 ### Breaking - Updated `ethereum-types` to 0.10. [#463](https://github.com/paritytech/parity-common/pull/463) diff --git a/contract-address/Cargo.toml b/contract-address/Cargo.toml index 81cd433d9..993ffe26c 100644 --- a/contract-address/Cargo.toml +++ b/contract-address/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-address" -version = "0.5.0" +version = "0.6.0" authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" @@ -11,9 +11,9 @@ edition = "2018" readme = "README.md" [dependencies] -ethereum-types = { version = "0.10.0", path = "../ethereum-types" } +ethereum-types = { version = "0.11.0", path = "../ethereum-types" } rlp = { version = "0.5", path = "../rlp" } -keccak-hash = { version = "0.6", path = "../keccak-hash", default-features = false } +keccak-hash = { version = "0.7", path = "../keccak-hash", default-features = false } [features] default = [] diff --git a/ethbloom/CHANGELOG.md b/ethbloom/CHANGELOG.md index 94a75dcb1..45781b2e4 100644 --- a/ethbloom/CHANGELOG.md +++ b/ethbloom/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] + +## [0.11.0] - 2021-01-27 +### Breaking +- Updated `impl-codec` to 0.5. [#510](https://github.com/paritytech/parity-common/pull/510) + ### Potentially-breaking - `serialize` feature no longer pulls `std`. [#503](https://github.com/paritytech/parity-common/pull/503) diff --git a/ethbloom/Cargo.toml b/ethbloom/Cargo.toml index 88777f43b..61a759bad 100644 --- a/ethbloom/Cargo.toml +++ b/ethbloom/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethbloom" -version = "0.10.0" +version = "0.11.0" authors = ["Parity Technologies "] description = "Ethereum bloom filter" license = "MIT OR Apache-2.0" @@ -15,7 +15,7 @@ crunchy = { version = "0.2.2", default-features = false, features = ["limit_256" fixed-hash = { path = "../fixed-hash", version = "0.7", default-features = false } impl-serde = { path = "../primitive-types/impls/serde", version = "0.3", default-features = false, optional = true } impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true } -impl-codec = { version = "0.4.1", path = "../primitive-types/impls/codec", default-features = false, optional = true } +impl-codec = { version = "0.5.0", path = "../primitive-types/impls/codec", default-features = false, optional = true } [dev-dependencies] criterion = "0.3.0" diff --git a/ethereum-types/CHANGELOG.md b/ethereum-types/CHANGELOG.md index e2b349a50..cfc8d223b 100644 --- a/ethereum-types/CHANGELOG.md +++ b/ethereum-types/CHANGELOG.md @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] + +## [0.11.0] - 2021-01-27 +### Breaking +- Updated `ethbloom` to 0.11. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `primitive-types` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `impl-codec` to 0.5. [#510](https://github.com/paritytech/parity-common/pull/510) + ### Potentially-breaking - `serialize` feature no longer pulls `std`. [#503](https://github.com/paritytech/parity-common/pull/503) diff --git a/ethereum-types/Cargo.toml b/ethereum-types/Cargo.toml index c7eb4b449..dfe86dc75 100644 --- a/ethereum-types/Cargo.toml +++ b/ethereum-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethereum-types" -version = "0.10.0" +version = "0.11.0" authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" @@ -8,13 +8,13 @@ description = "Ethereum types" edition = "2018" [dependencies] -ethbloom = { path = "../ethbloom", version = "0.10", default-features = false } +ethbloom = { path = "../ethbloom", version = "0.11", default-features = false } fixed-hash = { path = "../fixed-hash", version = "0.7", default-features = false, features = ["byteorder", "rustc-hex"] } uint-crate = { path = "../uint", package = "uint", version = "0.9", default-features = false } -primitive-types = { path = "../primitive-types", version = "0.8", features = ["byteorder", "rustc-hex"], default-features = false } +primitive-types = { path = "../primitive-types", version = "0.9", features = ["byteorder", "rustc-hex"], default-features = false } impl-serde = { path = "../primitive-types/impls/serde", version = "0.3.0", default-features = false, optional = true } impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true } -impl-codec = { version = "0.4.1", path = "../primitive-types/impls/codec", default-features = false, optional = true } +impl-codec = { version = "0.5.0", path = "../primitive-types/impls/codec", default-features = false, optional = true } [dev-dependencies] serde_json = "1.0.41" diff --git a/keccak-hash/CHANGELOG.md b/keccak-hash/CHANGELOG.md index d702e2348..ce980bbdf 100644 --- a/keccak-hash/CHANGELOG.md +++ b/keccak-hash/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.7.0] - 2021-01-27 +### Breaking +- Updated `primitive-types` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.6.0] - 2021-01-05 ### Breaking - Updated `primitive-types` to 0.8. [#463](https://github.com/paritytech/parity-common/pull/463) diff --git a/keccak-hash/Cargo.toml b/keccak-hash/Cargo.toml index 65ae2c4fd..6f1f29ee1 100644 --- a/keccak-hash/Cargo.toml +++ b/keccak-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "keccak-hash" -version = "0.6.0" +version = "0.7.0" description = "`keccak-hash` is a set of utility functions to facilitate working with Keccak hashes (256/512 bits long)." authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" @@ -10,7 +10,7 @@ edition = "2018" [dependencies] tiny-keccak = { version = "2.0", features = ["keccak"] } -primitive-types = { path = "../primitive-types", version = "0.8", default-features = false } +primitive-types = { path = "../primitive-types", version = "0.9", default-features = false } [dev-dependencies] tempfile = "3.1.0" diff --git a/kvdb-memorydb/CHANGELOG.md b/kvdb-memorydb/CHANGELOG.md index c837385bb..a5d9fa532 100644 --- a/kvdb-memorydb/CHANGELOG.md +++ b/kvdb-memorydb/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.9.0] - 2021-01-27 +### Breaking +- Updated `parity-util-mem` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `kvdb` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.8.0] - 2021-01-05 ### Breaking - Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470) diff --git a/kvdb-memorydb/Cargo.toml b/kvdb-memorydb/Cargo.toml index 7cf540bd9..9599421f5 100644 --- a/kvdb-memorydb/Cargo.toml +++ b/kvdb-memorydb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb-memorydb" -version = "0.8.0" +version = "0.9.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "A key-value in-memory database that implements the `KeyValueDB` trait" @@ -8,12 +8,12 @@ license = "MIT OR Apache-2.0" edition = "2018" [dependencies] -parity-util-mem = { path = "../parity-util-mem", version = "0.8", default-features = false, features = ["std"] } +parity-util-mem = { path = "../parity-util-mem", version = "0.9", default-features = false, features = ["std"] } parking_lot = "0.11.1" -kvdb = { version = "0.8", path = "../kvdb" } +kvdb = { version = "0.9", path = "../kvdb" } [dev-dependencies] -kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.6" } +kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.7" } [features] default = [] diff --git a/kvdb-rocksdb/CHANGELOG.md b/kvdb-rocksdb/CHANGELOG.md index e90a74a84..f55d08a57 100644 --- a/kvdb-rocksdb/CHANGELOG.md +++ b/kvdb-rocksdb/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.11.0] - 2021-01-27 +### Breaking +- Updated `kvdb` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `parity-util-mem` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.10.0] - 2021-01-05 ### Breaking - Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470) diff --git a/kvdb-rocksdb/Cargo.toml b/kvdb-rocksdb/Cargo.toml index beeed32b3..9d9b038d5 100644 --- a/kvdb-rocksdb/Cargo.toml +++ b/kvdb-rocksdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb-rocksdb" -version = "0.10.0" +version = "0.11.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "kvdb implementation backed by RocksDB" @@ -14,20 +14,20 @@ harness = false [dependencies] smallvec = "1.0.0" fs-swap = "0.2.5" -kvdb = { path = "../kvdb", version = "0.8" } +kvdb = { path = "../kvdb", version = "0.9" } log = "0.4.8" num_cpus = "1.10.1" parking_lot = "0.11.1" regex = "1.3.1" rocksdb = { version = "0.15", features = ["snappy"], default-features = false } owning_ref = "0.4.0" -parity-util-mem = { path = "../parity-util-mem", version = "0.8", default-features = false, features = ["std", "smallvec"] } +parity-util-mem = { path = "../parity-util-mem", version = "0.9", default-features = false, features = ["std", "smallvec"] } [dev-dependencies] alloc_counter = "0.0.4" criterion = "0.3" ethereum-types = { path = "../ethereum-types" } -kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.6" } +kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.7" } rand = "0.8.0" tempfile = "3.1.0" keccak-hash = { path = "../keccak-hash" } diff --git a/kvdb-shared-tests/CHANGELOG.md b/kvdb-shared-tests/CHANGELOG.md index 545cf7dff..f307aa6c3 100644 --- a/kvdb-shared-tests/CHANGELOG.md +++ b/kvdb-shared-tests/CHANGELOG.md @@ -5,3 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] + +## [0.7.0] - 2021-01-27 +### Breaking +- Updated `kvdb` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) diff --git a/kvdb-shared-tests/Cargo.toml b/kvdb-shared-tests/Cargo.toml index 14693f52d..4ea00030e 100644 --- a/kvdb-shared-tests/Cargo.toml +++ b/kvdb-shared-tests/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "kvdb-shared-tests" -version = "0.6.0" +version = "0.7.0" authors = ["Parity Technologies "] edition = "2018" description = "Shared tests for kvdb functionality, to be executed against actual implementations" license = "MIT OR Apache-2.0" [dependencies] -kvdb = { path = "../kvdb", version = "0.8" } +kvdb = { path = "../kvdb", version = "0.9" } diff --git a/kvdb-web/CHANGELOG.md b/kvdb-web/CHANGELOG.md index 7a494b33e..323f42614 100644 --- a/kvdb-web/CHANGELOG.md +++ b/kvdb-web/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.9.0] - 2021-01-27 +### Breaking +- Updated `kvdb` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `kvdb-memorydb` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `parity-util-mem` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.8.0] - 2021-01-05 ### Breaking - Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470) diff --git a/kvdb-web/Cargo.toml b/kvdb-web/Cargo.toml index 7790262f4..fe04d8c18 100644 --- a/kvdb-web/Cargo.toml +++ b/kvdb-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb-web" -version = "0.8.0" +version = "0.9.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "A key-value database for use in browsers" @@ -11,12 +11,12 @@ edition = "2018" [dependencies] wasm-bindgen = "0.2.69" js-sys = "0.3.46" -kvdb = { version = "0.8", path = "../kvdb" } -kvdb-memorydb = { version = "0.8", path = "../kvdb-memorydb" } +kvdb = { version = "0.9", path = "../kvdb" } +kvdb-memorydb = { version = "0.9", path = "../kvdb-memorydb" } futures = "0.3.8" log = "0.4.11" send_wrapper = "0.5.0" -parity-util-mem = { path = "../parity-util-mem", version = "0.8", default-features = false } +parity-util-mem = { path = "../parity-util-mem", version = "0.9", default-features = false } # TODO: https://github.com/paritytech/parity-common/issues/479 # This is hack to enable `wasm-bindgen` feature of `parking_lot` in other dependencies. # Thus, it's not direct dependency and do not remove until a proper fix exists. @@ -44,6 +44,6 @@ features = [ [dev-dependencies] console_log = "0.2.0" -kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.6" } +kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.7" } wasm-bindgen-test = "0.3.19" wasm-bindgen-futures = "0.4.19" diff --git a/kvdb/CHANGELOG.md b/kvdb/CHANGELOG.md index 99d1c52ea..9c2c444d0 100644 --- a/kvdb/CHANGELOG.md +++ b/kvdb/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.9.0] - 2021-01-27 +### Breaking +- Updated `parity-util-mem` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.8.0] - 2021-01-05 ### Breaking - Updated `parity-util-mem` to 0.8. [#470](https://github.com/paritytech/parity-common/pull/470) diff --git a/kvdb/Cargo.toml b/kvdb/Cargo.toml index 4cf0c7657..8f22d0780 100644 --- a/kvdb/Cargo.toml +++ b/kvdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb" -version = "0.8.0" +version = "0.9.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Generic key-value trait" @@ -9,4 +9,4 @@ edition = "2018" [dependencies] smallvec = "1.0.0" -parity-util-mem = { path = "../parity-util-mem", version = "0.8", default-features = false } +parity-util-mem = { path = "../parity-util-mem", version = "0.9", default-features = false } diff --git a/parity-crypto/CHANGELOG.md b/parity-crypto/CHANGELOG.md index 33c190d27..dfa71058d 100644 --- a/parity-crypto/CHANGELOG.md +++ b/parity-crypto/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.8.0] - 2021-01-27 +### Breaking +- Updated `ethereum-types` to 0.11. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.7.0] - 2021-01-05 ### Breaking - Bump `rust-secp256k1` to v0.19, always allow zero signatures. [#438](https://github.com/paritytech/parity-common/pull/438) diff --git a/parity-crypto/Cargo.toml b/parity-crypto/Cargo.toml index 828886648..1f7163425 100644 --- a/parity-crypto/Cargo.toml +++ b/parity-crypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-crypto" -version = "0.7.0" +version = "0.8.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Crypto utils used by ethstore and network." @@ -18,7 +18,7 @@ aes = "0.6.0" aes-ctr = "0.6.0" block-modes = "0.7.0" digest = "0.9.0" -ethereum-types = { version = "0.10.0", optional = true, path = "../ethereum-types" } +ethereum-types = { version = "0.11.0", optional = true, path = "../ethereum-types" } hmac = "0.10.1" lazy_static = { version = "1.4.0", optional = true } pbkdf2 = "0.6.0" diff --git a/parity-util-mem/CHANGELOG.md b/parity-util-mem/CHANGELOG.md index dad32580d..0c88476ca 100644 --- a/parity-util-mem/CHANGELOG.md +++ b/parity-util-mem/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.9.0] - 2021-01-27 +### Breaking +- Updated `ethereum-types` to 0.11. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `primitive-types` to 0.9. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.8.0] - 2021-01-05 - Updated dlmalloc to 0.2.1. [#452](https://github.com/paritytech/parity-common/pull/452) ### Breaking diff --git a/parity-util-mem/Cargo.toml b/parity-util-mem/Cargo.toml index 6ab5f3e54..e88ba2eed 100644 --- a/parity-util-mem/Cargo.toml +++ b/parity-util-mem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-util-mem" -version = "0.8.0" +version = "0.9.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Collection of memory related utilities" @@ -26,9 +26,9 @@ parity-util-mem-derive = { path = "derive", version = "0.1" } impl-trait-for-tuples = "0.2.0" smallvec = { version = "1.0.0", optional = true } -ethereum-types = { version = "0.10.0", optional = true, path = "../ethereum-types" } +ethereum-types = { version = "0.11.0", optional = true, path = "../ethereum-types" } parking_lot = { version = "0.11.1", optional = true } -primitive-types = { version = "0.8", path = "../primitive-types", default-features = false, optional = true } +primitive-types = { version = "0.9", path = "../primitive-types", default-features = false, optional = true } [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3.8", features = ["heapapi"] } diff --git a/primitive-types/CHANGELOG.md b/primitive-types/CHANGELOG.md index 23037abf1..df097bc61 100644 --- a/primitive-types/CHANGELOG.md +++ b/primitive-types/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.9.0] - 2021-01-27 +### Breaking +- Updated `impl-codec` to 0.5. [#510](https://github.com/paritytech/parity-common/pull/510) +- Updated `scale-info` to 0.5. [#510](https://github.com/paritytech/parity-common/pull/510) + ## [0.8.0] - 2021-01-05 - Added `num-traits` feature. [#480](https://github.com/paritytech/parity-common/pull/480) ### Breaking diff --git a/primitive-types/Cargo.toml b/primitive-types/Cargo.toml index 6ffe31e66..9646b344f 100644 --- a/primitive-types/Cargo.toml +++ b/primitive-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitive-types" -version = "0.8.0" +version = "0.9.0" authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" @@ -11,10 +11,10 @@ edition = "2018" fixed-hash = { version = "0.7", path = "../fixed-hash", default-features = false } uint = { version = "0.9.0", path = "../uint", default-features = false } impl-serde = { version = "0.3.1", path = "impls/serde", default-features = false, optional = true } -impl-codec = { version = "0.4.1", path = "impls/codec", default-features = false, optional = true } +impl-codec = { version = "0.5.0", path = "impls/codec", default-features = false, optional = true } impl-num-traits = { version = "0.1.0", path = "impls/num-traits", default-features = false, optional = true } impl-rlp = { version = "0.3", path = "impls/rlp", default-features = false, optional = true } -scale-info = { version = "0.4", features = ["derive"], default-features = false, optional = true } +scale-info = { version = "0.5", features = ["derive"], default-features = false, optional = true } [features] default = ["std"] diff --git a/primitive-types/impls/codec/CHANGELOG.md b/primitive-types/impls/codec/CHANGELOG.md index 927c9dc9c..179be164f 100644 --- a/primitive-types/impls/codec/CHANGELOG.md +++ b/primitive-types/impls/codec/CHANGELOG.md @@ -1,7 +1,11 @@ # Changelog -The format is based on [Keep a Changelog]. +The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] + +## [0.5.0] - 2021-01-27 +### Breaking +- Updated `parity-scale-codec` to 2.0. [#510](https://github.com/paritytech/parity-common/pull/510) diff --git a/primitive-types/impls/codec/Cargo.toml b/primitive-types/impls/codec/Cargo.toml index df837fd01..27a4aa7b6 100644 --- a/primitive-types/impls/codec/Cargo.toml +++ b/primitive-types/impls/codec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "impl-codec" -version = "0.4.2" +version = "0.5.0" authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" @@ -8,7 +8,7 @@ description = "Parity Codec serialization support for uint and fixed hash." edition = "2018" [dependencies] -parity-scale-codec = { version = "1.0.6", default-features = false } +parity-scale-codec = { version = "2.0.0", default-features = false } [features] default = ["std"] diff --git a/primitive-types/tests/scale_info.rs b/primitive-types/tests/scale_info.rs index 5a61ef133..1acecf54e 100644 --- a/primitive-types/tests/scale_info.rs +++ b/primitive-types/tests/scale_info.rs @@ -13,16 +13,18 @@ use scale_info::{build::Fields, Path, Type, TypeInfo}; #[test] fn u256_scale_info() { - let r#type = - Type::builder().path(Path::new("U256", "primitive_types")).composite(Fields::unnamed().field_of::<[u64; 4]>()); + let r#type = Type::builder() + .path(Path::new("U256", "primitive_types")) + .composite(Fields::unnamed().field_of::<[u64; 4]>("[u64; 4]")); assert_eq!(U256::type_info(), r#type.into()); } #[test] fn h256_scale_info() { - let r#type = - Type::builder().path(Path::new("H256", "primitive_types")).composite(Fields::unnamed().field_of::<[u8; 32]>()); + let r#type = Type::builder() + .path(Path::new("H256", "primitive_types")) + .composite(Fields::unnamed().field_of::<[u8; 32]>("[u8; 32]")); assert_eq!(H256::type_info(), r#type.into()); } diff --git a/rlp/Cargo.toml b/rlp/Cargo.toml index 6574b3ba2..fa1070ec1 100644 --- a/rlp/Cargo.toml +++ b/rlp/Cargo.toml @@ -14,7 +14,7 @@ rustc-hex = { version = "2.0.1", default-features = false } [dev-dependencies] criterion = "0.3.0" hex-literal = "0.3.1" -primitive-types = { path = "../primitive-types", version = "0.8", features = ["impl-rlp"] } +primitive-types = { path = "../primitive-types", version = "0.9", features = ["impl-rlp"] } [features] default = ["std"] diff --git a/transaction-pool/Cargo.toml b/transaction-pool/Cargo.toml index fd9a4fbd6..bb3cb6ad3 100644 --- a/transaction-pool/Cargo.toml +++ b/transaction-pool/Cargo.toml @@ -12,4 +12,4 @@ log = "0.4.8" smallvec = "1.6.0" [dev-dependencies] -ethereum-types = { version = "0.10.0", path = "../ethereum-types" } +ethereum-types = { version = "0.11.0", path = "../ethereum-types" } diff --git a/triehash/Cargo.toml b/triehash/Cargo.toml index 5ed55b529..0825f7b7e 100644 --- a/triehash/Cargo.toml +++ b/triehash/Cargo.toml @@ -14,7 +14,7 @@ rlp = { version = "0.5", path = "../rlp", default-features = false } [dev-dependencies] criterion = "0.3.0" keccak-hasher = "0.15.2" -ethereum-types = { version = "0.10.0", path = "../ethereum-types" } +ethereum-types = { version = "0.11.0", path = "../ethereum-types" } tiny-keccak = { version = "2.0", features = ["keccak"] } trie-standardmap = "0.15.2" hex-literal = "0.3.1"