-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deneb E2E #13040
Conversation
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 |
There was a problem hiding this comment.
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?
Co-authored-by: Radosław Kapka <[email protected]>
Co-authored-by: Radosław Kapka <[email protected]>
@@ -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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice improvement naming these
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