Skip to content

Test: add deneb spec test version beta.0#12610

Merged
terencechain merged 4 commits intodeneb-integrationfrom
beta.0-spectests
Jul 25, 2023
Merged

Test: add deneb spec test version beta.0#12610
terencechain merged 4 commits intodeneb-integrationfrom
beta.0-spectests

Conversation

@terencechain
Copy link
Collaborator

@terencechain terencechain commented Jul 10, 2023

prereq, we need to merge these first:
#12577
#12565

@terencechain terencechain requested a review from a team as a code owner July 10, 2023 22:34
@terencechain terencechain requested review from james-prysm, potuz and rkapka and removed request for a team July 10, 2023 22:34
@prestonvanloon
Copy link
Member

I think this needs to be rebased? Diff seems really large

@kasey kasey force-pushed the deneb-integration branch from 2829315 to 20b0fdd Compare July 20, 2023 18:23
@kasey kasey requested a review from prestonvanloon as a code owner July 20, 2023 18:23
@terencechain terencechain force-pushed the beta.0-spectests branch 3 times, most recently from d2bfc67 to fcef885 Compare July 22, 2023 13:09
@terencechain terencechain changed the title Test: spec test beta.0 Test: add deneb spec test version beta.0 Jul 23, 2023
size = "small",
srcs = ["upgrade_to_deneb_test.go"],
srcs = [
"upgrade_to_capella_test.go",
Copy link
Contributor

Choose a reason for hiding this comment

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

why this?

"github.com/prysmaticlabs/prysm/v4/testing/spectest/shared/deneb/fork"
)

func TestMainnet_Deneb_UpgradeToCapella(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we rename the test and the file?

size = "small",
srcs = ["upgrade_to_deneb_test.go"],
srcs = [
"upgrade_to_capella_test.go",
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here: remove this file?

srcs = ["upgrade_to_deneb_test.go"],
srcs = [
"upgrade_to_capella_test.go",
"upgrade_to_deneb_test.go",
Copy link
Contributor

Choose a reason for hiding this comment

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

This file is not included

@@ -0,0 +1,11 @@
package fork
Copy link
Contributor

Choose a reason for hiding this comment

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

rename this file

srcs = ["upgrade_to_deneb.go"],
srcs = [
"transition.go",
"upgrade_to_capella.go",
Copy link
Contributor

Choose a reason for hiding this comment

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

why this?

@@ -0,0 +1,63 @@
package fork
Copy link
Contributor

Choose a reason for hiding this comment

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

rename this file

@terencechain
Copy link
Collaborator Author

@potuz thanks for the feedback, I fixed them in 6f32e9b
one thing noting pointed out by you is we are missing the genesis folder, I will go ahead and create an issue to track that

case "AggregateAndProof":
obj = &ethpb.AggregateAttestationAndProof{}
case "BeaconBlock":
t.Skip("Skipping BeaconBlock test")
Copy link
Contributor

Choose a reason for hiding this comment

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

are we supposed to be skipping these tests? or is it taken cared of in a later pr

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed in 9f2d537

if err != nil {
return nil, err
}
p, err := consensusblocks.WrappedExecutionPayloadCapella(&enginev1.ExecutionPayloadCapella{Withdrawals: withdrawals}, 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

wait shouldn't this type be deneb?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed in 9f2d537

@terencechain terencechain merged commit 4a8e92b into deneb-integration Jul 25, 2023
@terencechain terencechain deleted the beta.0-spectests branch July 25, 2023 23:32
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
kasey pushed a commit that referenced this pull request Aug 24, 2023
kasey pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 31, 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