Commit 0f4e1b7
authored
update
<!--
Thank you for contributing to nervosnetwork/ckb!
If you haven't already, please read
[CONTRIBUTING](https://github.com/nervosnetwork/ckb/blob/develop/CONTRIBUTING.md)
document.
If you're unsure about anything, just ask; somebody should be along to
answer within a day or two.
**Important**: We use Squash Merge to merge PRs, so the PR title will
become the commit message.
Please ensure your PR title follows the [Conventional Commit
Messages](https://www.conventionalcommits.org/) format.
The most important prefixes you should use:
- `fix:`: represents bug fixes, and results in a SemVer patch bump.
- `feat:`: represents a new feature, and results in a SemVer minor bump.
- `<prefix>!:` (e.g. `feat!:`): represents a breaking change (indicated
by the !) and results in a SemVer major bump.
Other conventional prefixes are also acceptable (e.g., `docs:`,
`refactor:`, `test:`, `chore:`, etc.).
-->
### What problem does this PR solve?
Previously ckb depends on `ckb_schemars`, a fork of `schemars` 0.8 to
generate JSON schema for OpenRPC spec. Version 0.8 is too old for fiber
to use.
### What is changed and how it works?
This PR updates the dependency to `jsonrpc-utils` to a version that uses
schemars 1.0, and replace `ckb_schemars` with `schemars` 1.0
### Related changes
- PR to update `owner/repo`:
- Need to cherry-pick to the release branch
### Check List <!--REMOVE the items that are not applicable-->
Tests <!-- At least one of them must be included. -->
- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code
Side effects
- Performance regression
- Breaking backward compatibilityschemars to version 1 (#5128)1 parent 79d9cdb commit 0f4e1b7
6 files changed
Lines changed: 838 additions & 450 deletions
File tree
- devtools/doc/rpc-gen/src
- rpc
- util/jsonrpc-types/src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
| |||
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
256 | | - | |
| 255 | + | |
257 | 256 | | |
258 | 257 | | |
259 | 258 | | |
| |||
0 commit comments