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
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32602,
"message": "invalid argument 0: json: cannot unmarshal hex number with leading zero digits into Go struct field CallArgs.value of type *hexutil.Big"
}
}
I got this error:
when I send this transaction:
and this is what function I called in smart contract on BSC
I think the problem is in
HexExtensions.swift
:and
if value is
BigUInt(5000000000)
result from map function will be:The text was updated successfully, but these errors were encountered: