Skip to content

fix(eth-lc): backport ethereum-trie-db replacement to v1.3 - #1305

Open
dhfang wants to merge 1 commit into
release/cw-ics08-wasm-eth/v1.3.xfrom
backport/v1.3-remove-ethereum-trie-db
Open

dhfang wants to merge 1 commit into
release/cw-ics08-wasm-eth/v1.3.xfrom
backport/v1.3-remove-ethereum-trie-db

Conversation

@dhfang

@dhfang dhfang commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Description

Backport 94254c5 (#1296) onto the v1.3 compatibility revision. Replace the standalone ethereum-trie-db crate with the upstream MPT implementation and tests, including the older account-proof verification call site.

Checklist

  • One logical change, diff kept as small as practical
  • Commits signed off for the DCO (git commit -s), matching your commit author identity
  • AI assistance, if any, disclosed with a Co-Authored-By or Assisted-By trailer in the commit body
  • Commit messages follow Conventional Commits
  • Tests added or updated, covering expected and error paths
  • CI is green
  • SPDX license header on new files
  • Pull request title follows Conventional Commits (the changelog is generated from it)
  • ADR merged first if this changes architecture, a public interface, or a spec

Backport 94254c5 (#1296) onto the v1.3 compatibility revision. Replace the standalone ethereum-trie-db crate with the upstream MPT implementation and tests, including the older account-proof verification call site.

Validated with Rust 1.90: 51 light-client and CosmWasm tests, just lint-rust, and the v1.3 relayer dependency graph.

Signed-off-by: Dennis Fang <dhsfang@gmail.com>
@dhfang
dhfang requested a review from srdtrk as a code owner December 4, 2026 18:13
@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[High impact] The PR appears safe to merge; no actionable issues were found.

Summary

Replaces the standalone ethereum-trie-db crate with mpt inside ethereum-light-client.

  • Ethereum light-client proof checks now live in the light client.
  • Trie proofs now reject embedded child nodes 32 bytes or longer.

No actionable issues found. Tests were not run.

Reviews (1) · Last reviewed commit: "fix(eth-lc): backport ethereum-trie-db r..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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.

1 participant