Skip to content

Add Deneb upgrade function#12433

Merged
terencechain merged 4 commits intodeneb-integrationfrom
deneb-st-transition
May 23, 2023
Merged

Add Deneb upgrade function#12433
terencechain merged 4 commits intodeneb-integrationfrom
deneb-st-transition

Conversation

@terencechain
Copy link
Collaborator

Add Deneb upgrade function

  • NewGenesisBlockForState returns Deneb state
  • UpgradeToDeneb upgrades Capella state to deneb
  • CanUpgradeToDeneb returns true if it's Deneb epoch
  • ProcessSlots and ReplayProcessSlots can upgrade to Deneb
  • Add spec test for upgrade

@terencechain terencechain self-assigned this May 19, 2023
@terencechain terencechain requested a review from a team as a code owner May 19, 2023 19:19
@terencechain terencechain requested review from kasey, potuz and saolyn and removed request for a team May 19, 2023 19:19
@terencechain terencechain force-pushed the deneb-st-transition branch from 035235d to e9e172d Compare May 19, 2023 19:20
@kasey kasey force-pushed the deneb-integration branch from ca11e4a to 220beca Compare May 22, 2023 16:43
@kasey kasey requested a review from prestonvanloon as a code owner May 22, 2023 16:43
@terencechain terencechain force-pushed the deneb-st-transition branch from e9e172d to aa26c6d Compare May 23, 2023 16:02
"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.

shouldn't we just call this TestMainnet_UpgradeToDeneb

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

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

@james-prysm james-prysm May 23, 2023

Choose a reason for hiding this comment

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

same here do we need the Deneb_UpgradeToDeneb, can it just be UpgradeToDeneb

Copy link
Contributor

@james-prysm james-prysm left a comment

Choose a reason for hiding this comment

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

LGTM

@terencechain terencechain merged commit 0166a25 into deneb-integration May 23, 2023
@terencechain terencechain deleted the deneb-st-transition branch May 23, 2023 17:33
terencechain added a commit that referenced this pull request May 23, 2023
james-prysm pushed a commit that referenced this pull request May 23, 2023
terencechain added a commit that referenced this pull request May 26, 2023
terencechain added a commit that referenced this pull request May 31, 2023
terencechain added a commit that referenced this pull request Jun 7, 2023
terencechain added a commit that referenced this pull request Jun 12, 2023
terencechain added a commit that referenced this pull request Jun 12, 2023
terencechain added a commit that referenced this pull request Jun 16, 2023
terencechain added a commit that referenced this pull request Jun 27, 2023
terencechain added a commit that referenced this pull request Jul 7, 2023
terencechain added a commit that referenced this pull request Jul 9, 2023
terencechain added a commit that referenced this pull request Jul 10, 2023
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
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
james-prysm pushed a commit that referenced this pull request Aug 25, 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.

2 participants

Comments