We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1a456 commit 055129eCopy full SHA for 055129e
crates/test-utils/src/lib.rs
@@ -564,12 +564,12 @@ pub fn compile_solidity_contract(
564
let abi = if let serde_json::Value::Array(data) = &output["contracts"]["input.sol"][name]["abi"]
565
{
566
data.iter()
567
- .cloned()
568
.filter(|val| {
569
// ethabi doesn't yet support error types so we just filter them out for now
570
// https://github.com/rust-ethereum/ethabi/issues/225
571
val["type"] != "error"
572
})
+ .cloned()
573
.collect::<Vec<_>>()
574
} else {
575
vec![]
0 commit comments