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

Add Worldchain support #8044

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Add Worldchain support #8044

merged 3 commits into from
Jan 15, 2025

Conversation

deffrian
Copy link
Contributor

Fixes Closes Resolves #

Worldchain support

Changes

  • Adds worldchain mainnet & sepolia configs
  • CodeHash based genesis file

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

Copy link
Member

@LukaszRozmej LukaszRozmej left a comment

Choose a reason for hiding this comment

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

Looking at Megabytes worth of JSON, maybe we should add support for them in zipped format, not to blow repository size?

@@ -355,6 +355,17 @@ private static void LoadAllocations(ChainSpecJson chainSpecJson, ChainSpec chain
return;
}

Dictionary<Hash256, byte[]> codes = new();
Copy link
Member

Choose a reason for hiding this comment

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

I think we don't need this dictionary and can just use chainSpecJson.CodeHashes directly later to conserve a bit of memory.

@LukaszRozmej
Copy link
Member

Do we want to add any auto pivot updates like in #8043?

@deffrian deffrian merged commit b743908 into master Jan 15, 2025
79 checks passed
@deffrian deffrian deleted the feature/worldchain branch January 15, 2025 11:00
mralj pushed a commit that referenced this pull request Feb 5, 2025
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