Skip to content

test: add multiple access lists test#15465

Merged
tynes merged 2 commits intodevelopfrom
test/multiple-access-list
May 2, 2025
Merged

test: add multiple access lists test#15465
tynes merged 2 commits intodevelopfrom
test/multiple-access-list

Conversation

@agusduha
Copy link
Copy Markdown
Contributor

Description

Add CrossL2Inbox's multiple access list tests to complete FMA actions items.

Additional context

Interop access list FMA: ethereum-optimism/design-docs#252

Authored by @0xDiscotech

* feat: add mul access lists test

* chore: polish

* chore: pre pr

* feat: add more tests

* feat: wip to add more tests

* fix: multiple msgs tests
@agusduha agusduha requested review from a team as code owners April 18, 2025 19:18
@agusduha agusduha requested review from bitwiseguy and mbaxter April 18, 2025 19:18
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.40%. Comparing base (261b9ff) to head (4953734).
Report is 104 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #15465      +/-   ##
===========================================
- Coverage    46.51%   45.40%   -1.11%     
===========================================
  Files         1254     1195      -59     
  Lines       104325    99588    -4737     
===========================================
- Hits         48527    45219    -3308     
+ Misses       52373    51117    -1256     
+ Partials      3425     3252     -173     
Flag Coverage Δ
cannon-go-tests-32 ?
cannon-go-tests-64 ?
contracts-bedrock-tests 94.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/contracts-bedrock/src/L2/CrossL2Inbox.sol 100.00% <ø> (ø)

... and 65 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tynes tynes added this pull request to the merge queue May 2, 2025
validateMessageRelayer.validateAndRetry(_id, _messageHash);
}

/// Test that multiple calls to `validateMessage` with multiple storage keys succeeds on the same tx succeeds.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a redundant "succeeds" in the function comment. It should read "Test that multiple calls to validateMessage with multiple storage keys on the same tx succeeds" to avoid repetition and improve clarity.

Suggested change
/// Test that multiple calls to `validateMessage` with multiple storage keys succeeds on the same tx succeeds.
/// Test that multiple calls to `validateMessage` with multiple storage keys on the same tx succeeds.

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

Merged via the queue into develop with commit 1f8bd40 May 2, 2025
54 checks passed
@tynes tynes deleted the test/multiple-access-list branch May 2, 2025 23:15
iquidus pushed a commit to Layr-Labs/optimism that referenced this pull request Jul 24, 2025
* feat: add mul access lists test (ethereum-optimism#370)

* feat: add mul access lists test

* chore: polish

* chore: pre pr

* feat: add more tests

* feat: wip to add more tests

* fix: multiple msgs tests

* fix: semgrep (ethereum-optimism#371)

---------

Co-authored-by: Disco <131301107+0xDiscotech@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants