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

Change ValidatorPower type from BigInt to string #4005

Open
wants to merge 3 commits into
base: 5.4-maintenance
Choose a base branch
from

Conversation

s2quake
Copy link
Contributor

@s2quake s2quake commented Dec 5, 2024

Changes

ValidatorPower is represented by an approximation like 1e+21 because it is set to a value that is too large, so we change the type to string in GQL so that the exact value can be represented.

image

@s2quake s2quake self-assigned this Dec 5, 2024
@s2quake s2quake changed the base branch from main to 5.4-maintenance December 5, 2024 04:03
@s2quake s2quake force-pushed the fix/gql-validator-power branch from a1686d2 to 62e3c80 Compare December 5, 2024 04:12
@s2quake s2quake marked this pull request as ready for review December 5, 2024 05:01
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.

1 participant