Skip to content

Commit

Permalink
Merge pull request #99 from ethereum-optimism/0xfuturistic-patch-2
Browse files Browse the repository at this point in the history
interop: reorder arguments for executeMessage in predeploys
  • Loading branch information
tynes authored Mar 20, 2024
2 parents 890ab87 + f2ccc7b commit 1eda4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/interop/predeploys.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ properties about the `_msg` using the information in the `Identifier`.
A simple implementation of the `executeMessage` function is included below.

```solidity
function executeMessage(address _target, bytes calldata _msg, Identifier calldata _id) public payable {
function executeMessage(Identifier calldata _id, address _target, bytes calldata _msg) public payable {
require(msg.sender == tx.origin);
require(_id.timestamp <= block.timestamp);
require(L1Block.isInDependencySet(_id.chainid));
Expand Down

0 comments on commit 1eda4ca

Please sign in to comment.