Skip to content
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

Shapella upgrade #786

Merged
merged 6 commits into from
Mar 22, 2023
Merged

Shapella upgrade #786

merged 6 commits into from
Mar 22, 2023

Conversation

yrong
Copy link
Contributor

@yrong yrong commented Mar 7, 2023

No description provided.

Copy link
Contributor

@claravanstaden claravanstaden left a comment

Choose a reason for hiding this comment

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

Looks great so far! 👏

core/packages/test/scripts/deploy-ethereum.sh Show resolved Hide resolved
core/packages/test/scripts/deploy-ethereum.sh Show resolved Hide resolved
core/packages/test/scripts/build-binary.sh Outdated Show resolved Hide resolved
parachain/pallets/ethereum-beacon-client/src/lib.rs Outdated Show resolved Hide resolved
relayer/relays/beacon/header/syncer/syncer.go Show resolved Hide resolved
relayer/relays/beacon/state/beacon.go Outdated Show resolved Hide resolved
relayer/relays/beacon/state/beacon.go Show resolved Hide resolved
@yrong yrong marked this pull request as ready for review March 14, 2023 01:13
@yrong yrong requested review from vgeddes and doubledup March 14, 2023 08:37
flake.nix Show resolved Hide resolved
relayer/testdata/curl.sh Outdated Show resolved Hide resolved
relayer/relays/beefy/ethereum-writer.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@vgeddes vgeddes left a comment

Choose a reason for hiding this comment

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

I took a deeper look at this and I think the current approach to versioning adds a lot of duplicated code.

Is there a way we can use generics to mitigate this problem?

parachain/primitives/beacon/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/ethereum-beacon-client/src/lib.rs Outdated Show resolved Hide resolved
@yrong
Copy link
Contributor Author

yrong commented Mar 20, 2023

@claravanstaden After some sync with Vincent offline, upgrade from Bellatrix is not nessessary for us and the previous implementation with versioning support is somewhat incomplete. To make things simple I change scope of this PR focus on Capella support only.

@claravanstaden
Copy link
Contributor

Hey @yrong! That sounds good, I think keeping it simple is the correct way to go. However, even if we don't do the versioning now we still need to remember that it will be necessary for future prod cases when a hardfork is released.

Copy link
Collaborator

@vgeddes vgeddes left a comment

Choose a reason for hiding this comment

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

Looks much better 🙌

Just need to remove the unnecessary Capella from some struct names, please.

parachain/primitives/beacon/src/lib.rs Outdated Show resolved Hide resolved
parachain/primitives/beacon/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/ethereum-beacon-client/src/ssz.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@alistair-singh alistair-singh left a comment

Choose a reason for hiding this comment

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

🚢

Copy link
Contributor

@claravanstaden claravanstaden left a comment

Choose a reason for hiding this comment

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

Looks great @yrong! 🥳

parachain/README.md Show resolved Hide resolved
parachain/runtime/snowbase/src/lib.rs Show resolved Hide resolved
relayer/relays/beacon/config/config.go Outdated Show resolved Hide resolved
relayer/relays/beacon/config/config.go Outdated Show resolved Hide resolved
Copy link
Contributor

@claravanstaden claravanstaden left a comment

Choose a reason for hiding this comment

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

Good to go! 🚀

@yrong yrong merged commit ca228cd into main Mar 22, 2023
@yrong yrong deleted the ron/capella branch March 22, 2023 08:53
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.

5 participants