Skip to content

Commit

Permalink
chore: ignore flaky rostock chain test (foundry-rs#9261)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored and rplusq committed Nov 29, 2024
1 parent c86dfd8 commit 751b0f7
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions crates/forge/tests/cli/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2250,26 +2250,30 @@ Simulated On-chain Traces:

// Tests that chained errors are properly displayed.
// <https://github.com/foundry-rs/foundry/issues/9161>
forgetest_init!(should_display_evm_chained_error, |prj, cmd| {
let script = prj
.add_source(
"Foo",
r#"
forgetest_init!(
#[ignore]
should_display_evm_chained_error,
|prj, cmd| {
let script = prj
.add_source(
"Foo",
r#"
import "forge-std/Script.sol";
contract ContractScript is Script {
function run() public {
}
}
"#,
)
.unwrap();
cmd.arg("script").arg(script).args(["--fork-url", "https://public-node.testnet.rsk.co"]).assert_failure().stderr_eq(str![[r#"
)
.unwrap();
cmd.arg("script").arg(script).args(["--fork-url", "https://public-node.testnet.rsk.co"]).assert_failure().stderr_eq(str![[r#"
Error: Failed to deploy script:
backend: failed while inspecting; header validation error: `prevrandao` not set; `prevrandao` not set;
"#]]);
});
}
);

forgetest_async!(should_detect_additional_contracts, |prj, cmd| {
let (_api, handle) = spawn(NodeConfig::test()).await;
Expand Down

0 comments on commit 751b0f7

Please sign in to comment.