Skip to content

Remove the Verkle tree implementation#2

Merged
yilongli merged 2 commits into
refactor/v1.3.4from
remove-verkle-trie
Jul 28, 2025
Merged

Remove the Verkle tree implementation#2
yilongli merged 2 commits into
refactor/v1.3.4from
remove-verkle-trie

Conversation

@yilongli

Copy link
Copy Markdown
Member

No description provided.

@yilongli
yilongli force-pushed the remove-verkle-trie branch 2 times, most recently from 2eb3eec to e0cbdaf Compare July 26, 2025 15:08
This commit removes the `verkle-db`, `verkle-trie`, and `verkle-spec` crates from the project. These crates contained an unused and experimental Verkle tree implementation.

As a result of this removal:
- The `ffi_interface` crate has been cleaned up by removing functions and types that depended on `verkle-spec`, including deprecated hashing functions and proof generation/verification logic.
- Numerous transitive dependencies related to the Verkle tree implementation have been removed from `Cargo.lock`, significantly reducing the project's dependency footprint.
- The overall project structure is simplified by removing these unused components.
@yilongli
yilongli force-pushed the remove-verkle-trie branch from e0cbdaf to 8cbddfc Compare July 26, 2025 17:13
Eliminated the `ffi_interface` crate by inlining its core functionality directly into the `salt` crate.
@yilongli
yilongli force-pushed the remove-verkle-trie branch from 8cbddfc to 3869dc2 Compare July 26, 2025 17:18
@yilongli
yilongli requested review from abelmega and Copilot July 26, 2025 17:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the Verkle tree implementation by deleting all related source code, tests, benchmarks, and specifications. The change appears to completely eliminate the Verkle trie functionality from the codebase.

Key changes:

  • Complete removal of the verkle-trie crate including core implementation, database layer, and proof system
  • Removal of the verkle-spec crate that provided Ethereum-specific Verkle tree key mapping
  • Deletion of all associated tests, benchmarks, and configuration files

Reviewed Changes

Copilot reviewed 46 out of 47 changed files in this pull request and generated no comments.

File Description
verkle-trie/* Complete removal of Verkle trie implementation including core logic, database abstractions, proof system, and configuration
verkle-spec/* Removal of Ethereum-specific Verkle tree specification and key mapping utilities

@yilongli
yilongli requested a review from flyq July 26, 2025 17:44
@yilongli
yilongli marked this pull request as ready for review July 26, 2025 17:44
@yilongli
yilongli merged commit a1ff99d into refactor/v1.3.4 Jul 28, 2025
0 of 6 checks passed
@yilongli
yilongli deleted the remove-verkle-trie branch July 28, 2025 04:00
vincent-k2026 pushed a commit that referenced this pull request Jul 11, 2026
Address review feedback on PR #143:
- endian.rules / trie.rules / canon.rules: anchor rules to call sites and
  add word boundaries so they can't match identifier substrings
  (`serialize_to_le_bytes`) or prefixes (`TRIE_WIDTH_BITS`); make the
  comparator-flip name-agnostic instead of hardcoding `a`/`b`. (Troublor)
- spec_mutation.sh: drop comment-only mutants (universalmutator rewrites
  inside `///` docs → false SURVIVED), reported not silently discarded. (flyq #1)
- spec_mutation.sh: cap lints to allow for the mutant build so a lint-only
  breakage (unused_mut under CI's -D warnings) isn't miscounted invalid. (flyq #2)
- spec_mutation.sh: wrap nextest in a per-mutant timeout so a looping mutant
  is killed at 900s instead of hanging the job for hours. (flyq #3)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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