Closed Mahmoud-Emad closed 11 months ago
i added a check to detect invalid country/city values, still to be tested
i added a check to detect invalid country/city values, still to be tested
Where is this fix documented? So we can apply to other backends
the issue with the processor was that the country/city string was a hexadecimal encoded invalid utf-8 value, which postgres couldn't store as text. the fix was to replace these invalid values with empty strings, a temporary solution until invalid values are validated against in the tfchain.
the fix in #144 didn't work because the input started with a valid byte 'D'
updated the fix to search for the invalid data in the entire Uint8Array, and tested it against devnet, the processor was able to process the bad country/city inputs and replaced them with empty strings
Description
While testing node creation via the Polkadot UI, I encountered an unexpected behavior. Specifically, when setting the values of
Country
andCity
as random numbers, it resulted in a processor crash.Related Issue
This issue has been documented and can be tracked here.
Node details