Skip to content

RPC: Set jsonrpc::Ratio as the type of threshold field for DeploymentsInfo and Deployment #3980

Merged
zhangsoledad merged 4 commits intonervosnetwork:developfrom
eval-exec:fix/add-jsonrpc-types-Ratio
May 12, 2023
Merged

RPC: Set jsonrpc::Ratio as the type of threshold field for DeploymentsInfo and Deployment #3980
zhangsoledad merged 4 commits intonervosnetwork:developfrom
eval-exec:fix/add-jsonrpc-types-Ratio

Conversation

@eval-exec
Copy link
Collaborator

@eval-exec eval-exec commented May 12, 2023

What problem does this PR solve?

Issue Number: close #3978

Problem Summary:

What is changed and how it works?

What's Changed:

Related changes

  • Add Ratio struct in ckb-jsonrpc crate
  • Set jsonrpc::Ratio as the type of threshold field for DeploymentsInfo and Deployment

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

  • It's a break change

Release note

Title Only: Include only the PR title in the release note.

@eval-exec eval-exec changed the title add RPC: Set jsonrpc::Ratio as the type of threshold field for DeploymentsInfo and Deployment May 12, 2023
@eval-exec eval-exec marked this pull request as ready for review May 12, 2023 09:48
@eval-exec eval-exec requested a review from a team as a code owner May 12, 2023 09:48
@eval-exec eval-exec requested review from zhangsoledad and removed request for a team May 12, 2023 09:48
@eval-exec eval-exec added the b:rpc Break RPC interface label May 12, 2023
@eval-exec eval-exec self-assigned this May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

b:rpc Break RPC interface

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

The result of returning the number is not hexadecimal.

2 participants