Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update uint and ethereum-types #201

Merged
merged 5 commits into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ethabi-cli"
version = "12.0.0"
version = "13.0.0"
authors = [
"Parity Technologies <admin@parity.io>",
"Artem Vorotnikov <artem@vorotnikov.me>",
Expand All @@ -14,7 +14,7 @@ edition = "2018"

[dependencies]
anyhow = "1"
ethabi = { version = "12.0.0", path = "../ethabi" }
ethabi = { version = "13.0.0", path = "../ethabi" }
hex = "0.4"
sha3 = "0.9"
structopt = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ethabi-derive"
version = "12.0.0"
version = "13.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
homepage = "https://github.com/paritytech/ethabi"
license = "Apache-2.0"
Expand All @@ -13,7 +13,7 @@ proc-macro = true

[dependencies]
anyhow = "1"
ethabi = { path = "../ethabi", version = "12.0.0" }
ethabi = { path = "../ethabi", version = "13.0.0" }
heck = "0.3.1"
syn = { version = "1.0.13", default-features = false, features = ["derive", "parsing", "printing", "proc-macro"] }
quote = "1.0.2"
Expand Down
3 changes: 1 addition & 2 deletions derive/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
// except according to those terms.

use heck::{CamelCase, SnakeCase};
use proc_macro2::TokenStream;
use proc_macro2::{Span, TokenStream};
use quote::quote;
use syn::export::Span;

use super::{from_token, get_template_names, rust_type, to_syntax_string, to_token};

Expand Down
3 changes: 1 addition & 2 deletions derive/src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
// except according to those terms.

use heck::SnakeCase;
use proc_macro2::TokenStream;
use proc_macro2::{Span, TokenStream};
use quote::quote;
use syn::export::Span;

use super::{
from_template_param, from_token, get_output_kinds, get_template_names, input_names, rust_type, template_param_type,
Expand Down
2 changes: 1 addition & 1 deletion derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ mod function;
use anyhow::anyhow;
use ethabi::{Contract, Param, ParamType, Result};
use heck::SnakeCase;
use proc_macro2::Span;
use quote::quote;
use std::{env, fs, path::PathBuf};
use syn::export::Span;

const ERROR_MSG: &str = "`derive(EthabiContract)` failed";

Expand Down
6 changes: 3 additions & 3 deletions ethabi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ethabi"
version = "12.0.0"
version = "13.0.0"
authors = [
"Parity Technologies <admin@parity.io>",
"Artem Vorotnikov <artem@vorotnikov.me>",
Expand All @@ -18,9 +18,9 @@ hex = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha3 = "0.9"
ethereum-types = "0.9.0"
ethereum-types = "0.10.0"
thiserror = "1"
uint = "0.8.2"
uint = "0.9.0"

[dev-dependencies]
hex-literal = "0.3"
Expand Down