We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug 复现方式: 版本: 2.1.4
在使用 utils.tx.encodeScriptFunctionByResolve 时 如果传入的 args 的数组中带有 0x1 地址则会报错误 reason: 'hex data is odd-length', code: 'INVALID_ARGUMENT', argument: 'value', value: '0x1'
解决办法: 将 0x1 改为 0x01
The text was updated successfully, but these errors were encountered:
SDK 中不处理此项问题,应该在 Dapp 中解决并传入正确值
Sorry, something went wrong.
hex 不自动补全,补全会有安全风险。但我们的地址是支持自动填充 0 的,其实可以考虑 sdk 支持下。其实应该是解析 address 的地方支持一下。
No branches or pull requests
bug 复现方式:
版本: 2.1.4
在使用 utils.tx.encodeScriptFunctionByResolve 时 如果传入的 args 的数组中带有 0x1 地址则会报错误
reason: 'hex data is odd-length',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: '0x1'
解决办法:
将 0x1 改为 0x01
The text was updated successfully, but these errors were encountered: