Skip to content

Deneb E2E #13040

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

Merged
merged 65 commits into from
Nov 8, 2023
Merged

Deneb E2E #13040

merged 65 commits into from
Nov 8, 2023

Conversation

nisdas
Copy link
Contributor

@nisdas nisdas commented Oct 12, 2023

What type of PR is this?

Feature

What does this PR do? Why is it needed?

This PR adds deneb support to our E2E tests. This adds the ability to generate blob transactions and have them broadcasted to the network so that we can test the happy /unhappy paths for prysm in deneb. Due to external dependencies currently, deneb has been disabled for tests which use multiclient and web3signer. Once we have this fixed upstream we can start running E2E tests till Deneb for those particular tests.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas marked this pull request as ready for review October 12, 2023 08:33
@nisdas nisdas requested review from a team and prestonvanloon as code owners October 12, 2023 08:33
@nisdas nisdas requested review from potuz and terencechain October 12, 2023 08:33
@nisdas nisdas added Deneb e2e-tests End-To-End testing labels Oct 12, 2023
go.mod Outdated
@@ -267,3 +267,5 @@ replace github.com/json-iterator/go => github.com/prestonvanloon/go v1.1.7-0.201

// 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/lightclient/go-ethereum v1.10.10-0.20230829211949-79f3c2d9c96b
Copy link
Member

Choose a reason for hiding this comment

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

Can you update to master?

See ethereum/go-ethereum#27925 (comment)

@@ -28,6 +28,6 @@ const (
MaxWithdrawalsPerPayload = 4 // MaxWithdrawalsPerPayloadLength defines the maximum number of withdrawals that can be included in a payload.
MaxBlobsPerBlock = 6 // MaxBlobsPerBlock defines the maximum number of blobs with respect to consensus rule can be included in a block.
MaxBlobCommitmentsPerBlock = 16 // MaxBlobCommitmentsPerBlock defines the theoretical limit of blobs can be included in a block.
BlobLength = 4 // BlobLength defines the byte length of a blob.
BlobSize = 128 // defined to match blob.size in bazel ssz codegen
BlobLength = 131072 // BlobLength defines the byte length of a blob.
Copy link
Contributor

Choose a reason for hiding this comment

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

both of blob length and blobsize are the same number?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeap, they mean the same thing afaik

sender := common.HexToAddress(addr)
chainid, err := backend.ChainID(context.Background())
nonce, err := backend.PendingNonceAt(context.Background(), fundedAccount.Address)
Copy link
Contributor

Choose a reason for hiding this comment

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

why did this change from sender to fundedAccount?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Blob transactions and normal transactions can't come from the same address as geth would fail then

switch epoch {
case 11:
lastForkEpoch := forks.LastForkEpoch()
freezeStartEpoch := lastForkEpoch + 1
Copy link
Contributor

Choose a reason for hiding this comment

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

nice improvement naming these

@prylabs-bulldozer prylabs-bulldozer bot merged commit 4a515c3 into develop Nov 8, 2023
@prylabs-bulldozer prylabs-bulldozer bot deleted the deneb-e2e branch November 8, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-tests End-To-End testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants