From dfba845bd30f52505165d8f88b31ad08e4601507 Mon Sep 17 00:00:00 2001 From: David Palm Date: Thu, 16 Jan 2020 10:26:03 +0100 Subject: [PATCH 1/4] Release v11 --- CHANGELOG.md | 8 +++++--- cli/Cargo.toml | 2 +- derive/Cargo.toml | 2 +- ethabi/Cargo.toml | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c13d1e528..495d4a5e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,13 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ -## [Unreleased] +## [11.0.0] - 2020-01-08 ### Changed -- Add support for overloaded contract functions (PR #166) -- Removed `error_chain` and reworked errors manually. Also removes the `backtrace` feature. (#167) +- Support overloaded contract functions (PR #166) +- Removed `error_chain` and the `backtrace` feature. (#167) - Update to 2018 edition (PR #171, #172) +- Fix handling of large ints (PR #173) +- Support Tuple parameter types (structs in Solidity) (PR #174) ### Dependencies - Upgrade syn, proc-macro2, quote and heck crates (PR #169) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 43ea28ed9..785eef673 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethabi-cli" -version = "10.0.0" +version = "11.0.0" authors = ["Parity Technologies "] keywords = ["ethereum", "eth", "abi", "solidity", "cli"] description = "Easy to use cli for conversion of ethereum contract calls to bytecode." diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 665953b7c..253fc36fc 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethabi-derive" -version = "10.0.0" +version = "11.0.0" authors = ["Parity Technologies "] homepage = "https://github.com/paritytech/ethabi" license = "MIT/Apache-2.0" diff --git a/ethabi/Cargo.toml b/ethabi/Cargo.toml index fd735ab82..bd5bdec9a 100644 --- a/ethabi/Cargo.toml +++ b/ethabi/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "ethabi" -version = "10.0.0" +version = "11.0.0" authors = ["Parity Technologies "] homepage = "https://github.com/paritytech/ethabi" license = "MIT/Apache-2.0" -keywords = ["ethereum", "eth", "abi", "solidity", "cli"] +keywords = ["ethereum", "eth", "abi", "solidity"] description = "Easy to use conversion of ethereum contract calls to bytecode." edition = "2018" From 79d33f8ed7ea41584b2fc90f46ddb0d77d1c040f Mon Sep 17 00:00:00 2001 From: David Palm Date: Thu, 16 Jan 2020 11:07:10 +0100 Subject: [PATCH 2/4] deps --- Cargo.lock | 18 +++++++++--------- cli/Cargo.toml | 2 +- contract/Cargo.toml | 2 +- derive/Cargo.toml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5ee104fdd..3910e0544 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,7 +91,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "ethabi" -version = "10.0.0" +version = "11.0.0" dependencies = [ "ethereum-types 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -105,9 +105,9 @@ dependencies = [ [[package]] name = "ethabi-cli" -version = "10.0.0" +version = "11.0.0" dependencies = [ - "ethabi 10.0.0", + "ethabi 11.0.0", "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "structopt 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -116,13 +116,13 @@ dependencies = [ [[package]] name = "ethabi-contract" -version = "10.0.0" +version = "11.0.0" [[package]] name = "ethabi-derive" -version = "10.0.0" +version = "11.0.0" dependencies = [ - "ethabi 10.0.0", + "ethabi 11.0.0", "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -133,9 +133,9 @@ dependencies = [ name = "ethabi-tests" version = "0.1.1" dependencies = [ - "ethabi 10.0.0", - "ethabi-contract 10.0.0", - "ethabi-derive 10.0.0", + "ethabi 11.0.0", + "ethabi-contract 11.0.0", + "ethabi-derive 11.0.0", "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 785eef673..be472ee83 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" [dependencies] rustc-hex = "2.0" -ethabi = { version = "10.0.0", path = "../ethabi" } +ethabi = { version = "11.0.0", path = "../ethabi" } tiny-keccak = "1.4" structopt = "0.3" itertools = "0.8" diff --git a/contract/Cargo.toml b/contract/Cargo.toml index efe88922d..ef3bd36c2 100644 --- a/contract/Cargo.toml +++ b/contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethabi-contract" -version = "10.0.0" +version = "11.0.0" authors = ["Parity Technologies "] homepage = "https://github.com/paritytech/ethabi" license = "MIT/Apache-2.0" diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 253fc36fc..54e361016 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" proc-macro = true [dependencies] -ethabi = { path = "../ethabi", version = "10.0.0" } +ethabi = { path = "../ethabi", version = "11.0.0" } heck = "0.3.1" syn = { version = "1.0.13", default-features = false, features = ["derive", "parsing", "printing", "proc-macro"] } quote = "1.0.2" From 25026b34291cdac1525d25adcf6950edfe525ee8 Mon Sep 17 00:00:00 2001 From: David Palm Date: Thu, 16 Jan 2020 11:09:57 +0100 Subject: [PATCH 3/4] Check code format --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index fa2498c10..bd0c7bed8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,10 @@ matrix: before_script: - export PATH=$HOME/.cargo/bin:$PATH - cargo install cargo-travis || echo "cargo-travis already installed" + - rustup component add rustfmt script: + - cargo fmt --all -- --check - cargo test after_success: From abfbd6dcd81853f742b9df9612fbab0966ec910a Mon Sep 17 00:00:00 2001 From: David Date: Thu, 16 Jan 2020 15:24:13 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md Co-Authored-By: Andronik Ordian --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 495d4a5e6..f74344f6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ -## [11.0.0] - 2020-01-08 +## [11.0.0] - 2020-01-16 ### Changed - Support overloaded contract functions (PR #166) - Removed `error_chain` and the `backtrace` feature. (#167)