-
Notifications
You must be signed in to change notification settings - Fork 924
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
bug: successful fee-grant and revoke-fee-grant show ERROR
in logs and "result": "RPC client error: sendRequest failed: http status 200 OK unmarshaling response: EOF"
in CLI
#3322
Comments
I can confirm this is not working as expected and this mainly seems to be a serialization issue:
The most relevant part of the error is: |
The feegrant and revoke actually are successful transactions that land on chain. The logging in node seems to be the issue on my end |
Hmm, yeah but somewhere the JSON can't be (de-)serialized (hence node is reporting an error):
So while the transactions seem to work the JSON result is broken. Given that @vgonkivs tested it before in #3304 (comment), I assume that one of the changes/commits that came after the testing somehow broke sth. |
It's not working for me too on the latest main. |
seems it panics after marshaling TX
|
Yep! I can confirm that testing this on the PR itself results in successful result Semantic version: v0.13.2-22-g9f5f4534 (log)
|
If the change that led to this has nothing to do with the feegrant PR, it could be that more tx or other responses can't be unmarshalled right now. I think it would be good if API responses would be tested. |
Resolves #3322 Marshaling TxResponse fails because TxResponse.Tx is not empty but does not contain respective codec for encoding using the standard json.MarshalJSON()
Celestia Node version
v0.13.2-17-g6382dc13
OS
mac
Install tools
building on main at a point after #3304, at
6382dc13b92d7b40077154aab823367500371cb8
Others
No response
Steps to reproduce it
make feegrant or revoke feegrant
Expected result
no
ERROR
in logs, because the transaction was successfulActual result
ERROR
in logs of celestia-node on successful fee-grant and in revoke-fee-grant andRPC client error
in CLI, althoughhttp status 200 OK
Relevant log output
No response
Notes
No response
The text was updated successfully, but these errors were encountered: