ethereum-optimism / ethereum-optimism/optimism

Add test that would trigger a failure if gas changes would cause relayMessage to fail

Open
#14,609 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

M-needs-triage
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 18h
Merged PRs (30d)
134

Description

We need to add a test to the CrossDomainMessenger system that would fail if changes to the EVM gas schedule would cause relayMessage to fail on either side. We have a test that can be repurposed to do so, but need to wait for a new Foundry stable release to be published that includes [this bug fix](https://github.com/foundry-rs/foundry/pull/9904).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CrossDomainMessenger system tests and the existing test mentioned in the issue. Check whether the required Foundry stable release includes the linked bug fix before repurposing that test. Done means the test fails if an EVM gas-schedule change would make relayMessage fail on either side, while passing under the current schedule.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.