From 5962ba9554c07707da46dabd4922693e5d5e3328 Mon Sep 17 00:00:00 2001 From: Jeffery Walsh Date: Thu, 4 Jul 2024 21:20:16 -0700 Subject: [PATCH] calldata check fix --- packages/protocol/contracts/L1/libs/LibProposing.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/L1/libs/LibProposing.sol b/packages/protocol/contracts/L1/libs/LibProposing.sol index ed12aa7288..0b59d4c9b3 100644 --- a/packages/protocol/contracts/L1/libs/LibProposing.sol +++ b/packages/protocol/contracts/L1/libs/LibProposing.sol @@ -181,7 +181,7 @@ library LibProposing { // ) { // revert L1_INVALID_SIG(); // } - require(!_config.checkEOAForCalldataDA || msg.sender != tx.origin, "not EOA"); + require(!_config.checkEOAForCalldataDA || msg.sender == tx.origin, "not EOA"); emit CalldataTxList(meta_.id, _txList); }