Skip to content

Commit d20a9b3

Browse files
committed
fix(cast): include zero address as known system sender in cast run
1 parent 12c1178 commit d20a9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub const DEFAULT_USER_AGENT: &str = concat!("foundry/", env!("CARGO_PKG_VERSION
5252
/// See: [ARBITRUM_SENDER], [OPTIMISM_SYSTEM_ADDRESS]
5353
#[inline]
5454
pub fn is_known_system_sender(sender: Address) -> bool {
55-
[ARBITRUM_SENDER, OPTIMISM_SYSTEM_ADDRESS].contains(&sender)
55+
[ARBITRUM_SENDER, OPTIMISM_SYSTEM_ADDRESS, Address::ZERO].contains(&sender)
5656
}
5757

5858
pub fn is_impersonated_tx(tx: &AnyTxEnvelope) -> bool {

0 commit comments

Comments
 (0)