How do I understand error messages? #3789
Answered
by
satoshiotomakan
chokokatana
asked this question in
Q&A
-
When trying to build a
Clearly something is wrong, but what precisely? Is the error value 22 pointing to something in my input structure? |
Beta Was this translation helpful? Give feedback.
Answered by
satoshiotomakan
Apr 12, 2024
Replies: 1 comment 5 replies
-
Hi @chokokatana, 22 refers to the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So you're right,
timeout_height
needs to be set.If to remove all transaction messages,
Error_invalid_params
will be triggered because it's not allowed to generate an empty transaction.Currently, we're working on error message improvements, so it will be easier to figure out what's the problem in the future.
Regarding the
timeout_height
values - recommendation is to set height, to rev. 1 and block current + 1000 (see api /blocks/latest)