You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in an area where errors are being wrapped and sent over with a status code
Remedy
Use status codes to wrap that error with a code of InvalidArgument and please add a test for invalid addresses because the presence of that error not being caught means that the other RPC is going to encounter an unexpected error or could even crash
The text was updated successfully, but these errors were encountered:
This code is quite inconsistent when an error is encountered while parsing an address https://github.com/noble-assets/noble/blob/main/x/tokenfactory/keeper/grpc_query_blacklisted.go#L49-L52
and also inside Keeper.Mint
noble/x/tokenfactory/keeper/msg_server_mint.go
Lines 35 to 37 in d809e7e
Remedy
Use status codes to wrap that error with a code of InvalidArgument and please add a test for invalid addresses because the presence of that error not being caught means that the other RPC is going to encounter an unexpected error or could even crash
The text was updated successfully, but these errors were encountered: