Skip to content

Commit

Permalink
update uint and ethereum-types (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Jan 8, 2021
1 parent 69285cf commit 649d117
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions cli/Cargo.toml
@@ -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
@@ -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
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
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
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
@@ -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

0 comments on commit 649d117

Please sign in to comment.