Skip to content

feat(client-clis): add besu frames exception mappings - #3682

Merged
danceratopz merged 2 commits into
ethereum:eips/amsterdam/eip-8141from
jflo:frames-besu-exception-mapping
Oct 1, 2026
Merged

danceratopz merged 2 commits into
ethereum:eips/amsterdam/eip-8141from
jflo:frames-besu-exception-mapping

Conversation

@jflo

@jflo jflo commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Description

maps error messages emitted by Besu to each type.

Related Issues or PRs

N/A.

Checklist

  • Ran fast static checks to avoid CI fails, see Code Standards & Verifying Changes: just static
  • PR title has the form <type>(<area>): <title>, where <type> and <area> come from an appropriate C-<type>, respectively A-<area>, label. The title should match the target squash commit message.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@LouisTsai-Csie LouisTsai-Csie added the A-test-client-clis Area: execution_testing.client_clis label Oct 1, 2026
@LouisTsai-Csie LouisTsai-Csie changed the title Hegota(test-exceptions): Frames besu exception mapping feat(client-clis): frames besu exception mapping Oct 1, 2026
@LouisTsai-Csie LouisTsai-Csie added the C-feat Category: an improvement or new feature label Oct 1, 2026
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (eips/amsterdam/eip-8141@748bbb8). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             eips/amsterdam/eip-8141    #3682   +/-   ##
==========================================================
  Coverage                           ?   93.45%           
==========================================================
  Files                              ?      576           
  Lines                              ?    33106           
  Branches                           ?     2923           
==========================================================
  Hits                               ?    30940           
  Misses                             ?     1619           
  Partials                           ?      547           
Flag Coverage Δ
unittests 93.45% <ø> (?)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danceratopz
danceratopz changed the base branch from devnets/frames/0 to eips/amsterdam/eip-8141 October 1, 2026 11:29

@danceratopz danceratopz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! Let's get this in!

Updated to target the "eips" branch https://github.com/ethereum/execution-specs/tree/eips/amsterdam/eip-8141 from which the devnets branch get created.

@danceratopz

Copy link
Copy Markdown
Member

Ups, will need a rebase, I can handle this @jflo!

jflo and others added 2 commits October 1, 2026 13:34
Besu rejects invalid type-6 frame transactions with its own error
strings, none of which BesuExceptionMapper knew about, so every
EIP-8141 negative test failed with "Undefined exception message"
rather than comparing the exception.

Signed-off-by: jflo <justin+github@florentine.us>
    Besu rejects invalid type-6 frame transactions with its own error
    strings, none of which BesuExceptionMapper knew about, so every
    EIP-8141 negative test failed with "Undefined exception message"
    rather than comparing the exception.

Signed-off-by: jflo <justin+github@florentine.us>
@danceratopz
danceratopz force-pushed the frames-besu-exception-mapping branch 2 times, most recently from 6239cac to 70c780f Compare October 1, 2026 11:40
@danceratopz danceratopz changed the title feat(client-clis): frames besu exception mapping feat(client-clis): add besu frames exception mappings Oct 1, 2026
@danceratopz

Copy link
Copy Markdown
Member

Will merge now; CI is failing due to two pre-existing issues that are documented here:

@danceratopz
danceratopz merged commit 489f5d1 into ethereum:eips/amsterdam/eip-8141 Oct 1, 2026
24 of 26 checks passed
danceratopz pushed a commit that referenced this pull request Oct 1, 2026
* feat(consume): map Besu EIP-8141 frame transaction exceptions

Besu rejects invalid type-6 frame transactions with its own error
strings, none of which BesuExceptionMapper knew about, so every
EIP-8141 negative test failed with "Undefined exception message"
rather than comparing the exception.

Signed-off-by: jflo <justin+github@florentine.us>

* feat(consume): map Besu EIP-8141 frame transaction exceptions

    Besu rejects invalid type-6 frame transactions with its own error
    strings, none of which BesuExceptionMapper knew about, so every
    EIP-8141 negative test failed with "Undefined exception message"
    rather than comparing the exception.

Signed-off-by: jflo <justin+github@florentine.us>
(cherry picked from commit 489f5d1)
@danceratopz

Copy link
Copy Markdown
Member

@jflo I see that Besu's not configured for the frames hive test CI and dashboard yet (please ping when you have frames-devnet-0 branch we can point it at)! This has been cherry-picked to the devnets branch so would be ready to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-test-client-clis Area: execution_testing.client_clis C-feat Category: an improvement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants