Skip to content

Conversation

@F-OBrien
Copy link
Contributor

Visiting a histroical block e.g. https://polkadot.js.org/apps/#/explorer/query/1 was throwing an error due to the legacy v1 weight. Cannot read properties of undefined (reading 'toBn'). This fix ensure both v1 and v2 weights are correctly handled.

Copy link
Member

@ap211unitech ap211unitech left a comment

Choose a reason for hiding this comment

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

LGTM

@ap211unitech ap211unitech merged commit 189b2d2 into polkadot-js:master Dec 15, 2025
5 checks passed
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants