Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

fix(primitives): use decode_2718() to gracefully handle the tx type#182

Merged
clabby merged 2 commits intoop-rs:mainfrom
merklefruit:fix/op-tx-envelope-decoding
May 29, 2024
Merged

fix(primitives): use decode_2718() to gracefully handle the tx type#182
clabby merged 2 commits intoop-rs:mainfrom
merklefruit:fix/op-tx-envelope-decoding

Conversation

@merklefruit
Copy link
Contributor

Description

I believe decode_2718() will gracefully remove the transaction type byte, so I imported it from alloy_eips.

Tests

I ran all existing tests, including all the decoding unit tests in stages.

Metadata

@clabby clabby force-pushed the fix/op-tx-envelope-decoding branch from 2f798ad to 8119ac2 Compare May 27, 2024 15:56
@clabby
Copy link
Contributor

clabby commented May 27, 2024

Rebased on #186 - Closing & re-opening to bump CI :)

@clabby clabby added this pull request to the merge queue May 29, 2024
Merged via the queue into op-rs:main with commit c62a381 May 29, 2024
This was referenced May 29, 2024
This was referenced Jun 6, 2024
This was referenced Jun 16, 2024
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
…p-rs/kona#182)

* fix(primitives): use decode_2718() to gracefully handle the tx type

* nit: space
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
…p-rs/kona#182)

* fix(primitives): use decode_2718() to gracefully handle the tx type

* nit: space
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

K-fix Kind: fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(derive): L2ExecutionPayload Deposit Transaction Decoding

2 participants