Unnecessary escaping in logs returned from secret contracts #581
Labels
bug
Something isn't working
dev
Critical path development tasks
good first issue
Good for newcomers
p-medium
@baedrik noticed an issue when trying to pass characters that are usually escaped in strings, through secret contract logs.
The flow here is:
cosmwasm_std::log
functionsecretcli q compute tx
He observed that e.g. a literal
"
turns into a literal\\\"
, and\n
(a newline) turned into a literal\\n
This is probably a compound of two different serialization bugs in different parts of the system, because of the double escaping.
EDIT: marked as "good first issue" since it's probably a simple programming error, and could get someone new familiar with the codebase, if they want to start contributing.
The text was updated successfully, but these errors were encountered: