-
Notifications
You must be signed in to change notification settings - Fork 958
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
GetSharesByNamespace JSON RPC returns the the old representation of NamespacedShares #2631
Comments
Good catch, we will still return |
) Related: celestiaorg/celestia-node#2631, celestiaorg/celestia-node#2633 --------- Co-authored-by: Rootul P <[email protected]>
Tested the latest release and I still get the old representation. I think this should be removed. |
@oblique The protobuf definitions from nmt have now changed so that the fields are snake case - so your old actual result should be the new expected result. Or am I missing something? |
I'm using {
"jsonrpc": "2.0",
"result": [
{
"end": 2,
"is_max_namespace_id_ignored": true,
"leaf_hash": null,
"nodes": [
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABLdBzzpUnHG99n3rFul1zuDC3/mibQH8Ics9I1EP3muK",
"/////////////////////////////////////////////////////////////////////////////yVANEGwvveNvq0ylhBwcRNmpTd/hLmgSlPtjrMfJSMj"
],
"start": 1
}
],
"id": 4
} The |
Yes, it should, didn't even catch that - thanks |
jsonProof is not necessary when we already have pb.Proof, which caused issues because of mismatching field names. Related: celestiaorg/celestia-node#2631 Specifically: celestiaorg/celestia-node#2631 (comment)
related #2728 |
Celestia Node version
4b96022
OS
Arch Linux
Install tools
No response
Others
No response
Steps to reproduce it
Do
share.GetSharesByNamespace
request.Expected result
I was expecting to get the new protobuf representation (
share.p2p.shrex.nd.NamespaceRowResponse
):Actual result
Instead I got the old representation (
share.NamespacedShares
):Relevant log output
No response
Notes
I think the issue starts from here.
The text was updated successfully, but these errors were encountered: