We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f145736 commit d836f78Copy full SHA for d836f78
1 file changed
tests/src/contract.rs
@@ -75,14 +75,7 @@ impl Contract {
75
}
76
77
fn code_and_abi(name: &str) -> anyhow::Result<(String, Vec<u8>)> {
78
- let src = TestFile::new(&format!("contracts/src/{}.sol", name));
79
let bin = TestFile::new(&format!("contracts/out/{}.sol/{}.json", name, name));
80
- if src.newer(&bin) {
81
- println!(
82
- "The source {} is newer than the compiled contract {}. Please recompile.",
83
- src, bin
84
- );
85
- }
86
87
let json: Value = serde_json::from_reader(bin.reader()?).unwrap();
88
let abi = serde_json::to_string(&json["abi"]).unwrap();
0 commit comments