From 249773e36a27c3bf679e201270247d8b3c42af45 Mon Sep 17 00:00:00 2001 From: Nisheeth Barthwal Date: Wed, 7 Aug 2024 17:53:25 +0200 Subject: [PATCH] debug --- .github/workflows/test.yml | 2 +- crates/forge/tests/cli/build.rs | 1 + crates/forge/tests/cli/script.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adbe72804..86e3dc24e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -146,7 +146,7 @@ jobs: env: RUST_BACKTRACE: full TEST_MAINNET_URL: http://localhost:8011 - run: cargo test zk + run: cargo test zk -- show-output zk-smoke-test: name: zk-smoke-test diff --git a/crates/forge/tests/cli/build.rs b/crates/forge/tests/cli/build.rs index 2b0082dcf..716085fb0 100644 --- a/crates/forge/tests/cli/build.rs +++ b/crates/forge/tests/cli/build.rs @@ -54,6 +54,7 @@ forgetest_init!(build_sizes_no_forge_std, |prj, cmd| { // tests build output is as expected in zksync mode forgetest_init!(test_zk_build_sizes, |prj, cmd| { cmd.args(["build", "--sizes", "--zksync", "--evm-version", "shanghai"]); + println!("{:?}", cmd.stdout_lossy()); let stdout = cmd.stdout_lossy(); assert!(stdout.contains("| Counter | 800 | 450,199 |"), "\n{stdout}"); }); diff --git a/crates/forge/tests/cli/script.rs b/crates/forge/tests/cli/script.rs index 3483a9c0c..a40950efd 100644 --- a/crates/forge/tests/cli/script.rs +++ b/crates/forge/tests/cli/script.rs @@ -1543,6 +1543,7 @@ contract DeployScript is Script { "shanghai", ]); + println!("{:?}", cmd.stdout_lossy()); assert!(cmd.stdout_lossy().contains("ONCHAIN EXECUTION COMPLETE & SUCCESSFUL")); let run_latest = foundry_common::fs::json_files(prj.root().join("broadcast").as_path())