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

getshare and getsharesbynamespace don't work #914

Closed
jcstein opened this issue Jul 18, 2023 · 0 comments · Fixed by #915
Closed

getshare and getsharesbynamespace don't work #914

jcstein opened this issue Jul 18, 2023 · 0 comments · Fixed by #915

Comments

@jcstein
Copy link
Member

jcstein commented Jul 18, 2023

celestia rpc share GetSharesByNamespace "$(celestia rpc header GetByHeight 103692 | jq '.result.dah' -r)" 0x42690c204d39600fddd3
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32700,
    "message": "unmarshaling params for 'share.GetSharesByNamespace' (param: *share.Namespace): illegal base64 data at input byte 20"
  }
}
celestia rpc share GetShare "$(celestia rpc header GetByHeight 101810 | jq '.result.dah' -r)" 101810 0
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": 0,
    "message": "fatal error calling 'share.GetShare': panic in rpc method 'share.GetShare': runtime error: index out of range [101810] with length 8"
  }
}
@jcstein jcstein changed the title getshare and getsharesbynamespace don't work. getshare and getsharesbynamespace don't work Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant