-
Notifications
You must be signed in to change notification settings - Fork 974
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
fix(rpc): fix commands handling #2515
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2515 +/- ##
==========================================
- Coverage 51.39% 50.97% -0.43%
==========================================
Files 158 158
Lines 10304 10395 +91
==========================================
+ Hits 5296 5299 +3
- Misses 4556 4632 +76
- Partials 452 464 +12
|
testing out https://based64.xyz (so testing retrieval of submitted plain-text) on this branch and it is not, functioning as expected, so this doesn't resolve the issue #2503 of plain text data that is expected to be returned in base64, being returned as base64 ![]() my version matches last commit on this PR: Semantic version: v0.11.0-rc8-13-ga9ac16a2
Commit: a9ac16a24181094162b54b2ce5e3616037038fdc
Build Date: Thu Jul 27 14:01:39 CEST 2023
System version: arm64/darwin
Golang version: go1.20.2 as an example, i will try to submit "gm" and retrieve base64 that converts to string as "gm". alternatively, as explained in this comment: #2503 (comment) the only difference is i am using the version above
![]()
![]() |
however, i believe celestia rpc share GetSharesByNamespace "$(celestia rpc header GetByHeight 103692 | jq '.result.dah' -r)" 0x42690c204d39600fddd3
{
"jsonrpc": "2.0",
"result": [
{
"Shares": [
"AAAAAAAAAAAAAAAAAAAAAAAAAEJpDCBNOWAP3dMBAAAACEltZHRJZz09AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
],
"Proof": {
"start": 1,
"end": 2,
"nodes": [
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABHBoPeolnLUCIgDXv2uScYcpg3V/gJIIwil8j33b33eH",
"/////////////////////////////////////////////////////////////////////////////4S2andMgMf77TuFT8NmQm5qoIqmmDsUmUHKwGCZ+wg0"
],
"leaf_hash": null,
"is_max_namespace_id_ignored": true
}
}
],
"id": 1
} |
linking docs context celestiaorg/docs#915 (comment) |
oops 😅 |
I missed the thing with converting from one type to another and fixed errors in our code. |
a23303a
to
503ce4f
Compare
503ce4f
to
0ec8649
Compare
FYI @jcstein , we changed the |
what happens if no |
Data will be converted to the plain text by default |
(cherry picked from commit 94a6b63)
(cherry picked from commit 94a6b63)
(cherry picked from commit 94a6b63)
(cherry picked from commit 94a6b63)
Overview
Fixes all found rpc issues
Fixes #2503 and #2500
Checklist