Skip to content

deps: Add optional codec feature to payload-types-reth#138

Merged
anylots merged 5 commits into
fix/payload-types-reth-codec-featurefrom
main
Jun 25, 2026
Merged

deps: Add optional codec feature to payload-types-reth#138
anylots merged 5 commits into
fix/payload-types-reth-codec-featurefrom
main

Conversation

@anylots

@anylots anylots commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

dependabot Bot and others added 5 commits June 24, 2026 10:46
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(consensus): mark future timestamps as transient

* fix(engine-api): pass through rpc errors
* fix(primitives): accept zero-prefixed MorphTx v0 payloads

Align legacy MorphTx version routing with geth so zero-prefixed payloads enter the V0 decoder instead of failing as unsupported versions.

* fix(revm): validate token-fee MorphTx fee caps

Apply the EIP-1559 fee-cap checks to MorphTx regardless of fee asset so token-fee blocks cannot diverge from geth validation.

* fix(rpc): infer MorphTx version from request fields

Build fee-token-only MorphTx requests as V0 while reserving V1 for reference or memo fields, matching geth RPC defaults.

* fix(rpc): reject gas price on MorphTx requests

Return an explicit RPC construction error when legacy gasPrice is mixed with Morph fields instead of silently changing fee semantics.

* fix(rpc): treat zero MorphTx reference as absent

Allow V0 MorphTx requests with an all-zero reference so RPC version inference and validation match geth normalization.

* fix(txpool): drop MorphTx above block gas limit

Revalidate pooled MorphTx gas limits against the latest block gas limit so stale over-limit transactions are removed with their descendants.

* fix(txpool): require max-fee token budget

Use max_fee_per_gas for token-fee MorphTx pool admission so mempool validation matches geth's conservative affordability check.

* fix(rpc): default MorphTx env chain id

Fill missing MorphTx request chain IDs from the EVM environment on tx-env conversion so simulation paths do not depend on implicit alloy defaults.

* fix(rpc): validate MorphTx request input fields

Reject conflicting data/input fields and empty contract creation in MorphTx RPC construction to match geth request validation.

* docs(revm): fix Bernoulli precompile reference link

Point the Bernoulli precompile comment at the matching geth contract map instead of the Morph203 section.

* fix(rpc): validate MorphTx simulation fields

Run the same MorphTx structural validation on tx-env conversion so eth_call and estimate paths reject requests that real construction would reject.

* fix(revm): halt on storage original read errors

Treat failed committed-storage reads during Morph SLOAD/SSTORE original-value restoration as fatal instead of continuing with uncertain gas accounting state.

* chore: format audit fix code

Apply rustfmt to earlier audit fixes so the branch remains format-clean.

* fix(engine-api): read canonical head atomically

Use reth's latest sealed header lookup so canonical head number, hash, and timestamp come from the same provider snapshot.

* Revert "fix(revm): halt on storage original read errors"

This reverts commit dd98bc9.

* Revert "fix(rpc): validate MorphTx simulation fields"

This reverts commit 0b761eb.

* fix: address audit PR review comments

Align MorphTx simulation validation with signing, canonicalize zero references, extend zero-byte V0 decode routing, and remove unused txpool validation input.

* fix(rpc): align gas price MorphTx requests with geth

Treat requests that include legacy gas_price as standard transactions even when Morph-specific fields are present, matching geth's transaction type precedence.

* fix(rpc): honor explicit MorphTx version

---------

Co-authored-by: vincent <vincent.ch.cn@gmail.com>
* chore: bump version to 1.0.0

* chore(deny): ignore RUSTSEC-2026-0173 (proc-macro-error2 unmaintained)

---------

Co-authored-by: vincent <vincent.ch.cn@gmail.com>
Co-authored-by: chengwenxi <22697326+chengwenxi@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e06245ff-bce1-489e-b92e-24a6fd0b19c2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@anylots anylots changed the title Add optional codec feature to payload-types-reth deps: Add optional codec feature to payload-types-reth Jun 25, 2026
@anylots anylots merged commit f5bc9cd into fix/payload-types-reth-codec-feature Jun 25, 2026
25 of 26 checks passed
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