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

The result of returning the number is not hexadecimal. #3978

Closed
gpBlockchain opened this issue May 12, 2023 · 1 comment · Fixed by #3980
Closed

The result of returning the number is not hexadecimal. #3978

gpBlockchain opened this issue May 12, 2023 · 1 comment · Fixed by #3980
Assignees
Labels
t:bug Type: This doesn't seem right.

Comments

@gpBlockchain
Copy link
Collaborator

Bug Report

Current Behavior

The bits and threshold in the returned result are not hexadecimal.
https://github.com/nervosnetwork/ckb/tree/develop/rpc#method-get_consensus
https://github.com/nervosnetwork/ckb/tree/develop/rpc#method-get_deployments_info
image
image

@gpBlockchain gpBlockchain added the t:bug Type: This doesn't seem right. label May 12, 2023
@eval-exec eval-exec self-assigned this May 12, 2023
@eval-exec
Copy link
Collaborator

The type of threshold field is type Ratio, not type RationalU256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Type: This doesn't seem right.
Projects
None yet
2 participants