Refactor consensus/types (#7827)

Organize and categorize `consensus/types` into modules based on their relation to key consensus structures/concepts.
This is a precursor to a sensible public interface.

While this refactor is very opinionated, I am open to suggestions on module names, or type groupings if my current ones are inappropriate.


Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
Mac L
2025-12-04 13:28:52 +04:00
committed by GitHub
parent 51d0336020
commit 4e958a92d3
167 changed files with 2117 additions and 1751 deletions

2
Cargo.lock generated
View File

@@ -3125,6 +3125,7 @@ dependencies = [
name = "eth2"
version = "0.1.0"
dependencies = [
"context_deserialize",
"educe",
"eip_3076",
"either",
@@ -8547,6 +8548,7 @@ checksum = "1fc20a89bab2dabeee65e9c9eb96892dc222c23254b401e1319b85efd852fa31"
dependencies = [
"arbitrary",
"context_deserialize",
"educe",
"ethereum_serde_utils",
"ethereum_ssz",
"itertools 0.14.0",