Skip to content

refactor: remove EigenDAWitnessWithTrustedData intermediate struct#322

Merged
bxue-l2 merged 1 commit into
masterfrom
chores--remove-EigenDAWitnessWithTrustedData
Jun 2, 2026
Merged

refactor: remove EigenDAWitnessWithTrustedData intermediate struct#322
bxue-l2 merged 1 commit into
masterfrom
chores--remove-EigenDAWitnessWithTrustedData

Conversation

@bxue-l2

@bxue-l2 bxue-l2 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

cherrypick from kien-rise@90c60e3

The struct was a pure parameter object with a 1:1 creation-to-consumption
ratio and no invariants of its own. Flatten its four L1 context fields
(block hash, number, timestamp, chain ID) into explicit arguments on
PreloadedEigenDAPreimageProvider::from_witness, where the security-critical
comment about trusted oracle sourcing now lives.

  The struct was a pure parameter object with a 1:1 creation-to-consumption
  ratio and no invariants of its own. Flatten its four L1 context fields
  (block hash, number, timestamp, chain ID) into explicit arguments on
  PreloadedEigenDAPreimageProvider::from_witness, where the security-critical
  comment about trusted oracle sourcing now lives.
@bxue-l2 bxue-l2 merged commit dea1e5e into master Jun 2, 2026
9 checks passed
@bxue-l2 bxue-l2 deleted the chores--remove-EigenDAWitnessWithTrustedData branch June 2, 2026 20:25
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.

2 participants