Skip to content

Conversation

@potuz
Copy link
Contributor

@potuz potuz commented Sep 26, 2023

implement deneb DA forkchoice spectests.

exports ReceiveBlob from the blockchain package

@potuz potuz requested a review from a team as a code owner September 26, 2023 18:31
@potuz potuz force-pushed the deneb-spectests branch 7 times, most recently from 7cd8a9b to 0910067 Compare September 28, 2023 15:10
@potuz potuz changed the title [WIP] Deneb spectests Deneb spectests Sep 28, 2023
@potuz potuz changed the title Deneb spectests Deneb spectests release v1.4.0-beta.2-hotfix Sep 28, 2023
@terencechain
Copy link
Collaborator

terencechain commented Sep 28, 2023

Comment on lines +145 to +151
if state.Version() >= version.Deneb {
// Cap churn limit to max per epoch churn limit. New in EIP7514.
if churnLimit > params.BeaconConfig().MaxPerEpochActivationChurnLimit {
churnLimit = params.BeaconConfig().MaxPerEpochActivationChurnLimit
}
}

Copy link
Member

Choose a reason for hiding this comment

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

Can we add unit tests for this? It's likely covered by spectest but we should have our own tests as well as spectests are a bit of a blackbox sometimes.

@potuz potuz added the blocked label Sep 28, 2023
@prestonvanloon
Copy link
Member

Fails to build

ERROR: /buildkite/builds/buildkite-new-3-1/prysmatic-labs/prysm/config/params/BUILD.bazel:42:8: //config/params:go_default_test depends on @consensus_spec//:spec_data in repository @consensus_spec which failed to fetch. no such package '@consensus_spec//': java.io.IOException: Error extracting /root/.cache/bazel/_bazel_root/29b315a8c41f2348dc9cc735eb2d30a0/external/consensus_spec/temp7051674763010975498/v1.4.0-beta.2-hotfix.tar.gz to /root/.cache/bazel/_bazel_root/29b315a8c41f2348dc9cc735eb2d30a0/external/consensus_spec/temp7051674763010975498: Prefix "consensus-specs-1.4.0-beta.2-hotfix" was given, but not found in the archive. Here are possible prefixes for this archive: "consensus-specs-1.4.0-beta.2".

@potuz potuz removed the blocked label Sep 28, 2023
@prylabs-bulldozer prylabs-bulldozer bot merged commit b4e72f1 into develop Sep 28, 2023
@prylabs-bulldozer prylabs-bulldozer bot deleted the deneb-spectests branch September 28, 2023 21:05
@nisdas nisdas mentioned this pull request Oct 4, 2023
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.

4 participants