-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
The omission of codespaces when BroadcastTxSync #5859
Comments
Messages are not executed during sync/async -- only the ante-handler. Thus it makes no sense to have a codespace. You'll notice, |
|
Right, so I'm having trouble following the proposal exactly...? |
I mean, The codespace is also needed to SYNC mode. I made an example as below.
the code 9 is used by
Clients can not recognize the exact error by code only. |
Totally, I agree! But wouldn't |
Could you update the issue status? |
cosmos-sdk/types/result.go
Line 186 in a1ac04c
When the broadcast mode
SYNC
, the codespace field is omitted.Is it intended?
If the failure is from the module, such as
msg.ValidateBasic()
, the codespace is significant for recognizing the errors.The text was updated successfully, but these errors were encountered: