Skip to content

Fix fee calculation at runtime upgrade#106

Merged
joepetrowski merged 2 commits intomasterfrom
at-fix-runtime-upgrade-crash
Jun 19, 2020
Merged

Fix fee calculation at runtime upgrade#106
joepetrowski merged 2 commits intomasterfrom
at-fix-runtime-upgrade-crash

Conversation

@athei
Copy link
Member

@athei athei commented Jun 19, 2020

The fee calculation of the first block of a new runtime did not work because its parent falsely proclaims to be produced under the new runtime. This workaround therefore uses the parent of the parent in order to determine the correct runtime under which the current block was produced.

@joepetrowski joepetrowski merged commit a23d210 into master Jun 19, 2020
@joepetrowski joepetrowski deleted the at-fix-runtime-upgrade-crash branch June 19, 2020 13:49
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