CodeChain-io / codechain-sdk-js

CodeChain JavaScript SDK
https://api.codechain.io
ISC License
26 stars 17 forks source link

Minting fails when the metadata includes some of Unicode characters #296

Closed joojis closed 5 years ago

joojis commented 5 years ago

https://saluki.codechain.io/explorer/tx/0x67cad8b6652520b90b18af962d51c4083e7669104de72937cf3d4dbe84ab6f98

sgkim126 commented 5 years ago

I added test cases to guarantee that CodeChain handles single quotes. https://github.com/CodeChain-io/codechain/pull/1125 By the way, I cannot find a single quotation on the metadata of the failed transaction.

joojis commented 5 years ago

Oh, I found that it actually was Unicode's single quote. http://www.codetable.net/decimal/8217

joojis commented 5 years ago

@sgkim126 The single quotation was modified to some other characters in the explorer. image

joojis commented 5 years ago

I'm closing this because it's not reproducible at the latest version.

image