diff --git a/ethers/tests/eip712.rs b/ethers/tests/eip712.rs index 869bb635..218b0105 100644 --- a/ethers/tests/eip712.rs +++ b/ethers/tests/eip712.rs @@ -39,9 +39,10 @@ async fn test_derive_eip712() { } // get ABI and bytecode for the DeriveEip712Test contract - let path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests"); + const PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/tests/DeriveEip712Test.sol"); Solc::find_or_install_svm_version("0.6.0").unwrap(); // install solc - let result = Solc::default().compile_source(path).unwrap(); + let result = Solc::default().compile_source(PATH).unwrap(); + eprintln!("{result:#?}"); let (abi, bytecode, _) = result .find("DeriveEip712Test") .expect("failed to get DeriveEip712Test contract")