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

Fast runtime #89

Merged
merged 4 commits into from
Dec 22, 2023
Merged

Fast runtime #89

merged 4 commits into from
Dec 22, 2023

Conversation

yrong
Copy link

@yrong yrong commented Dec 22, 2023

No description provided.

parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
version: [0, 0, 16, 32], // 0x00001020
version: [144, 0, 0, 111], // 0x90000069
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh no, I missed updating the fork versions for Sepolia. 😞 Thanks for catching this.

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, we need this fix for the launch.

Comment on lines +615 to 617
parameter_types! {
pub const MaxExecutionHeadersToKeep: u32 = prod_or_fast!(8192 * 2, 1000);
}
Copy link
Author

Choose a reason for hiding this comment

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

Macro prod_or_fast for fast-runtime feature

@yrong yrong merged commit 81e41f5 into snowbridge Dec 22, 2023
4 of 9 checks passed
@yrong yrong deleted the ron/fast-runtime branch December 22, 2023 11:28
claravanstaden pushed a commit that referenced this pull request Dec 22, 2023
* Refactoring with fast-runtime

* Fix ForkVersions for sepolia

* beacon-spec-minimal

* Use fast-runtime in BH
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