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

Bump main spec version #714

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Bump main spec version #714

merged 1 commit into from
Aug 7, 2024

Conversation

orriin
Copy link
Contributor

@orriin orriin commented Aug 5, 2024

Closes #655

A node will attempt to use its native runtime in substitute for the on-chain Wasm runtime if all of spec_name, spec_version, and authoring_version are the same between the Wasm and native binaries. This was causing nodes compiled from main to use a runtime slightly different compared to what is on-chain, and write invalid stuff to storage.

In the future, CI should prevent us from ever pushing to main a spec version that matches what is on-chain (cc @sam0x17)

See https://docs.substrate.io/maintain/runtime-upgrades/ for more.

@orriin orriin requested a review from unconst as a code owner August 5, 2024 13:14
@orriin orriin mentioned this pull request Aug 5, 2024
@orriin orriin added the hotfix This PR needs to be merged very quickly and will likely skip testing on devnet and testnet label Aug 5, 2024
@sam0x17
Copy link
Contributor

sam0x17 commented Aug 5, 2024

yeah note that the Finney Deploy Check runs on this PR, so someone bypassed it

@sam0x17
Copy link
Contributor

sam0x17 commented Aug 5, 2024

In the future, CI should prevent us from ever pushing to main a spec version that matches what is on-chain (cc @sam0x17)

These checks are already in place, only way this could have happened is someone using administrator privileges to bypass ;)

@alex-drocks
Copy link

damn legends, thanks for fixing this

@unconst unconst merged commit 6a37d4b into main Aug 7, 2024
18 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix This PR needs to be merged very quickly and will likely skip testing on devnet and testnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread 'tokio-runtime-worker' panicked at 'Storage root must match that calculated.'
5 participants