Skip to content

Conversation

@mediocregopher
Copy link
Collaborator

Towards #19514

  • A new flag --engine.enable-proof-v2 is added.
  • The StorageProofInput type is made into an enum with a Legacy and V2 variant, so the storage proof workers can serve either kind of request.
  • When submitting proof requests the flag is used to decide which variant of StorageProofInput to use.
  • When the flag is enabled the storage workers will create a proof_v2::StorageProofCalculator during their startup, and have it available for calculating StorageProofInput::V2s.
  • A new enum StorageProofResult is introduced, which functions similarly to StorageProofInput. The account workers will convert either variant of StorageProofResult to a DecodedMultiProof. Once account workers also support V2 proofs this step won't be necessary.

@@ -621,11 +625,6 @@
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

clippy complained this isn't used anymore, even though it was used in the tests. I just inlined the tx.clone() in the tests instead.

@mediocregopher mediocregopher marked this pull request as ready for review December 23, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants