Open Buckram123 opened 8 months ago
https://github.com/osmosis-labs/test-tube/issues/50#issuecomment-1958579871
@iboss-ptk I would like to contribute on this! Would you prefer just always lossy string or different error type if it's non-utf8?
Hey! Wonder what creates non-utf8 content, what does that look like?
Hey! Wonder what creates non-utf8 content, what does that look like?
The error that is in description was from smart contract trying to use authz grant, but that grant didn't exist. Grant keys are non utf-8
See #51
I just got this panic:
You can see it here: https://github.com/osmosis-labs/test-tube/blob/be0251e1c11cf2b80729ee692371896c665acf4e/packages/test-tube/src/runner/result.rs#L219-L223
Converting error to the lossy string helped me figure out the issue:
I would like to at least get the lossy error in case of the Non UTF-8 strings