-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: actually run all unit tests in CI #6989
Conversation
@@ -505,6 +505,7 @@ mod tests { | |||
use tempfile::tempdir; | |||
|
|||
#[test] | |||
#[ignore = "slow"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really want these tests in unit tests, same for some that call providers or fork.
); | ||
let sig = "0x522bb704000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfFFb92266"; | ||
let args = ScriptArgs::parse_from(["foundry-cli", "Contract.sol", "--sig", sig]); | ||
assert_eq!(args.sig, sig); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefix again
@@ -512,7 +512,7 @@ mod tests { | |||
&config, | |||
) | |||
.unwrap(); | |||
assert_eq!(client.etherscan_api_url().as_str(), "https://api-testnet.polygonscan.com/?/"); | |||
assert_eq!(client.etherscan_api_url().as_str(), "https://api-testnet.polygonscan.com/"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know what this is about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is outdated/no longer required, there were some cloudflare bugs with trailing /
oops