You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling "spotDeploy" api, if the address list in "userAndWei" involves uppercase, it leads to signature error: L1 error: User or API Wallet 0xe62b09a760b8bd649cc678767fbb74c868b05111 does not exist., which is quite misleading.
How to reproduce
use the following to send api
action= {
"type": "spotDeploy",
"userGenesis":{
"token": TOKEN_ID,
# note: address should use lowercase, uppercase would cause signature error."userAndWei": [["0xABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDE","0"]],
"existingTokenAndWei": []
}
}
Suggestions
In the chain node side, use the original message to recover signer address from signature rather the lowercase ones
or, on the sdk side, either support auto toLowercase or throw error when it has uppercase.
The text was updated successfully, but these errors were encountered:
Bug brief
When calling "spotDeploy" api, if the address list in "userAndWei" involves uppercase, it leads to signature error:
L1 error: User or API Wallet 0xe62b09a760b8bd649cc678767fbb74c868b05111 does not exist.
, which is quite misleading.How to reproduce
use the following to send api
Suggestions
The text was updated successfully, but these errors were encountered: