diff --git a/crates/hyperdrive-wrappers/build.rs b/crates/hyperdrive-wrappers/build.rs index 06561a57..492b4d9f 100644 --- a/crates/hyperdrive-wrappers/build.rs +++ b/crates/hyperdrive-wrappers/build.rs @@ -88,6 +88,7 @@ fn main() -> Result<()> { // re-write these files. let root = Path::new(std::env!("CARGO_MANIFEST_DIR")); let generated = root.join("src/wrappers"); + println!("generated {:#?}", generated); if generated.exists() { std::fs::remove_dir_all(&generated)?; } @@ -97,9 +98,11 @@ fn main() -> Result<()> { .create(true) .write(true) .open(mod_file)?; + println!("mod_file {:#?}", mod_file); // Generate the relevant contract wrappers from Foundry's artifacts. - let artifacts = root.join("../../hyperdrive/out"); + let artifacts = root.join("../../../hyperdrive/out"); + println!("artifacts {:#?}", artifacts); let mut artifacts = get_artifacts(&artifacts)?; artifacts.sort_by(|a, b| a.1.cmp(&b.1)); artifacts.dedup_by(|a, b| a.1.eq(&b.1));