Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests of ExecutionPayloadEnvelope verification #14373

Merged

Conversation

jihoonsong
Copy link

What type of PR is this?
This PR adds unit tests of ExecutionPayloadEnvelope verification except SetSlot(). I think SetSlot() does no-op from EnvelopeVerifier's perspective in current implementation. Also, this corrects requirement list of EnvelopeVerifier — uses its requirements instead of those of PayloadAttMsgVerifier.

@jihoonsong jihoonsong requested a review from a team as a code owner August 22, 2024 07:58
@jihoonsong jihoonsong requested review from saolyn, potuz and terencechain and removed request for a team August 22, 2024 07:58
@terencechain terencechain added the ePBS EIP-7732 label Aug 22, 2024
// GossipExecutionPayloadEnvelopeRequirements is a requirement list for gossip payload attestation messages.
var GossipExecutionPayloadEnvelopeRequirements = RequirementList(PayloadAttGossipRequirements)
// GossipExecutionPayloadEnvelopeRequirements is a requirement list for gossip execution payload envelopes.
var GossipExecutionPayloadEnvelopeRequirements = RequirementList(ExecutionPayloadEnvelopeGossipRequirements)
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch!

@potuz potuz merged commit d380e9e into prysmaticlabs:epbs Aug 22, 2024
16 checks passed
potuz pushed a commit that referenced this pull request Aug 29, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Sep 13, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Sep 18, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Sep 26, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Oct 7, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Oct 14, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
potuz pushed a commit that referenced this pull request Oct 16, 2024
* Correct requirement list of EnvelopeVerifier

* Add unit tests of ExecutionPayloadEnvelope verification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ePBS EIP-7732
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants