chore(deps): bump ethabi master (#787)

This commit is contained in:
Matthias Seitz 2022-01-13 01:58:11 +01:00 committed by GitHub
parent 19671e51de
commit d4f8984f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1044,7 +1044,7 @@ dependencies = [
[[package]] [[package]]
name = "ethabi" name = "ethabi"
version = "16.0.0" version = "16.0.0"
source = "git+https://github.com/rust-ethereum/ethabi?branch=master#7f4bb3d6164775928485b2bad2f6e130a96f438e" source = "git+https://github.com/rust-ethereum/ethabi?branch=master#199e307462ea6ad17c3ff48dcba8aa42b23cb2c3"
dependencies = [ dependencies = [
"ethereum-types", "ethereum-types",
"hex", "hex",

View File

@ -269,7 +269,7 @@ impl Parse for Method {
// affect its signature. // affect its signature.
outputs: vec![], outputs: vec![],
state_mutability: StateMutability::NonPayable, state_mutability: StateMutability::NonPayable,
constant: false, constant: None,
} }
}; };
let signature = function.abi_signature(); let signature = function.abi_signature();

View File

@ -47,7 +47,7 @@ pub(crate) fn derive_eth_call_impl(input: DeriveInput) -> TokenStream {
name: function_call_name.clone(), name: function_call_name.clone(),
inputs, inputs,
outputs: vec![], outputs: vec![],
constant: false, constant: None,
state_mutability: Default::default(), state_mutability: Default::default(),
} }
} else { } else {

View File

@ -317,7 +317,7 @@ impl AbiParser {
Ok( Ok(
#[allow(deprecated)] #[allow(deprecated)]
Function { name, inputs, outputs, state_mutability, constant: false }, Function { name, inputs, outputs, state_mutability, constant: None },
) )
} }