Skip to content

Comments

test(e2e): deneb basic#12546

Merged
terencechain merged 20 commits intodeneb-integrationfrom
deneb-e2e
Jul 14, 2023
Merged

test(e2e): deneb basic#12546
terencechain merged 20 commits intodeneb-integrationfrom
deneb-e2e

Conversation

@terencechain
Copy link
Collaborator

deneb e2e test

@terencechain terencechain requested a review from a team as a code owner June 16, 2023 19:19
@terencechain terencechain requested review from james-prysm, kasey and potuz and removed request for a team June 16, 2023 19:19
@prestonvanloon
Copy link
Member

Fails to build

@kasey kasey force-pushed the deneb-e2e branch 2 times, most recently from 40d4adc to 95261a7 Compare June 22, 2023 15:24
@terencechain terencechain force-pushed the deneb-e2e branch 2 times, most recently from ccdb9aa to e9faf97 Compare June 29, 2023 15:25
oldSlot := bytesutil.BytesToSlotBigEndian(oldSlotBytes)
if oldSlot >= slot {
return fmt.Errorf("attempted to save blob with slot %d but already have older blob with slot %d", slot, oldSlot)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this was a workaround for devnet, but is this behavior we want in prod? Presumably we protect this invariant as part of our circular buffer design, cc @rauljordan

WithField("bellatrix_fv", fmt.Sprintf("%#x", params.BeaconConfig().BellatrixForkVersion)).
WithField("capella_fv", fmt.Sprintf("%#x", params.BeaconConfig().CapellaForkVersion)).
WithField("deneb_fv", fmt.Sprintf("%#x", params.BeaconConfig().DenebForkVersion)).
Debug("InitializeDataMaps")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I added this while debugging rpc issues, we should remove it.

WithField("deneb", fmt.Sprintf("%#x", deneb)).
Debug("context type mapping")
ctxByteTableLogged = true
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

✂️

// See https://github.com/prysmaticlabs/grpc-gateway/issues/2
replace github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20230315201114-09284ba20446

replace github.com/ethereum/go-ethereum => github.com/MariusVanDerWijden/go-ethereum v1.8.22-0.20230626175218-2d586a9714d9
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we want this in deneb-integration?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it's fine to have them in deneb-integration until geth's official release. Reason being it's more valuable to have e2e test and for devnet, we can just run directly instead of having to cut a new branch every time

Copy link
Collaborator

Choose a reason for hiding this comment

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

sgtm

deepsource-autofix bot and others added 2 commits July 13, 2023 19:08
Resolved issues in the following files with DeepSource Autofix:
1. beacon-chain/blockchain/receive_block.go
2. beacon-chain/cache/depositsnapshot/merkle_tree.go
3. beacon-chain/db/kv/blob.go
4. beacon-chain/db/kv/blocks.go
5. beacon-chain/db/kv/state.go
6. beacon-chain/p2p/pubsub_tracer.go
7. beacon-chain/sync/checkpoint/api.go
8. beacon-chain/sync/checkpoint/file.go
9. beacon-chain/sync/rpc_beacon_blocks_by_root.go
10. beacon-chain/sync/rpc_blob_sidecars_by_root_test.go
11. beacon-chain/sync/subscriber_blob_sidecar.go
12. beacon-chain/sync/validate_sync_committee_message.go
13. build/bazel/non_bazel.go
14. config/features/config.go
15. consensus-types/mock/block.go
16. container/leaky-bucket/heap_test.go
17. container/leaky-bucket/leakybucket_test.go
18. proto/engine/v1/json_marshal_unmarshal_test.go
19. validator/accounts/accounts_exit.go
20. validator/accounts/accounts_helper.go
21. validator/client/testutil/mock_validator.go
22. validator/client/validator.go
23. validator/client/validator_test.go
24. validator/keymanager/local/keymanager.go
@terencechain terencechain merged commit 5aaea8b into deneb-integration Jul 14, 2023
@terencechain terencechain deleted the deneb-e2e branch July 14, 2023 07:23
kasey pushed a commit that referenced this pull request Jul 20, 2023
james-prysm pushed a commit that referenced this pull request Aug 4, 2023
terencechain added a commit that referenced this pull request Aug 16, 2023
kasey pushed a commit that referenced this pull request Aug 21, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
james-prysm pushed a commit that referenced this pull request Aug 25, 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