-
Notifications
You must be signed in to change notification settings - Fork 236
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
Type discrepancy in DeploymentInfo
between codebase and rpc/README.md documentation
#3951
Comments
The line of 110 could be removed? https://github.com/nervosnetwork/ckb/blob/develop/Makefile#L110-L111 |
I think we can use |
Line 291 in 0c4565b
HTML is prone to change, we'd better use another solution to generate A possible solution is to use cargo +nightly rustdoc -p ckb-fixed-hash -- -Z unstable-options --output-format json Out of curiosity, why do we generate |
Cc. @zhangsoledad I think we can view RPC modules to learn what APIs we have. |
Make document close to the code. |
The type of
threshold
inDeploymentInfo
is defined asRatio
in the codebaseckb/util/jsonrpc-types/src/info.rs
Lines 47 to 73 in 287bc09
However, in the rpc/README.md DeploymentInfo file, it is documented as being of type
EpochNumber
, and thesince
field is not yet documented forDeploymentInfo
.It appears that there may be an issue with the
./devtools/doc/rpc.py
file.The text was updated successfully, but these errors were encountered: