Skip to content

Commit b8a850f

Browse files
committed
allow to receive more value on op stack
1 parent 23a36a3 commit b8a850f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/gateway/optimism/OptimismL1Gateway.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ contract OptimismL1Gateway is L1BaseGateway, OptimismGateway {
3434
uint256 _value,
3535
bytes calldata _callData
3636
) external payable onlyMessageService onlyRemoteGateway {
37-
require(msg.value == _value, "Invalid value");
37+
// Blast will return more value(the stake profit) than burned on L2
38+
require(msg.value >= _value, "Invalid value");
3839
// Forward message to arbitrator
3940
ARBITRATOR.receiveMessage{value: _value}(_value, _callData);
4041
}

0 commit comments

Comments
 (0)