Skip to content

Commit

Permalink
Update DelegateOwner.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed May 8, 2024
1 parent 2570996 commit 762f6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/protocol/contracts/L2/DelegateOwner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 762f6ee

Please sign in to comment.