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]]
name = "ethabi"
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 = [
"ethereum-types",
"hex",

View File

@ -269,7 +269,7 @@ impl Parse for Method {
// affect its signature.
outputs: vec![],
state_mutability: StateMutability::NonPayable,
constant: false,
constant: None,
}
};
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(),
inputs,
outputs: vec![],
constant: false,
constant: None,
state_mutability: Default::default(),
}
} else {

View File

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