From 762f6eeb055a84137416bd10f3a9ac72aec74411 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Wed, 8 May 2024 22:11:00 +0800 Subject: [PATCH] Update DelegateOwner.sol --- packages/protocol/contracts/L2/DelegateOwner.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/protocol/contracts/L2/DelegateOwner.sol b/packages/protocol/contracts/L2/DelegateOwner.sol index 0da5cd3fc78..06d8d2e9799 100644 --- a/packages/protocol/contracts/L2/DelegateOwner.sol +++ b/packages/protocol/contracts/L2/DelegateOwner.sol @@ -86,6 +86,8 @@ contract DelegateOwner is EssentialContract, IMessageInvocable { /// @notice Dryruns a message invocation but always revert. /// If this tx is reverted with DO_TRY_RUN_SUCCEEDED, the try run is successful. + /// Note that this function shall not be used in transaction and is designed for offchain + /// simulation only. function dryrunMessageInvocation(bytes calldata _data) external payable { _invokeCall(_data, false); revert DO_DRYRUN_SUCCEEDED();