Skip to content

Commit

Permalink
chore(deps): bump ethabi master (gakonst#437)
Browse files Browse the repository at this point in the history
* chore(deps): bump ethabi master

* bump ethers
  • Loading branch information
mattsse authored Jan 13, 2022
1 parent bd1b7cd commit 1f4e205
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/src/cmd/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub async fn run(
name: "constructor".to_string(),
inputs: constructor.inputs,
outputs: vec![],
constant: false,
constant: None,
state_mutability: Default::default(),
};

Expand Down
2 changes: 1 addition & 1 deletion evm-adapters/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub trait Evm<State> {
) -> Result<(Bytes, Self::ReturnReason, u64, Vec<String>)> {
let calldata = encode_function_data(func, args)?;
#[allow(deprecated)]
let is_static = func.constant ||
let is_static = func.constant.unwrap_or_default() ||
matches!(
func.state_mutability,
ethers::abi::StateMutability::View | ethers::abi::StateMutability::Pure
Expand Down

0 comments on commit 1f4e205

Please sign in to comment.