-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Token contract hash: <0xxxx> error while fetching metadata: #5121
Comments
@thomas59553 it looks like Blockscout was not able to read public getters of those contracts like name, symbol, etc. For instance, what is the response for this request on your archive node:
|
|
The issue is rather in the bad responses for public getters of the tokens from the node. I am closing this issue. |
helllo i dont understand your answer, i need add ,"latest" to work good, where can i add it in the code ? |
Ah, I see now. I didn't notice, that it worked with |
@thomas59553 can you try to apply a fix from this PR #5184 on your instance and give me feedback? Actually, |
Hello Good it's working now, i see the tokens ! |
Tokens not visible in token list
log
05:12:48.840 [debug] <Token contract hash: 0x4dfae97e6da2faac2fd2be422212ae2f7b91f825> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
05:12:48.842 [debug] <Token contract hash: 0x4dfae97e6da2faac2fd2be422212ae2f7b91f825> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
05:12:48.844 [debug] <Token contract hash: 0x4dfae97e6da2faac2fd2be422212ae2f7b91f825> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
05:14:06.514 [debug] <Token contract hash: 0x937a95ff6e51c94b90b9b7c6cd4756dd6fc16f95> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
05:14:06.516 [debug] <Token contract hash: 0x937a95ff6e51c94b90b9b7c6cd4756dd6fc16f95> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
05:14:06.517 [debug] <Token contract hash: 0x937a95ff6e51c94b90b9b7c6cd4756dd6fc16f95> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
05:38:12.650 [debug] <Token contract hash: 0x5c89779dcd70ab86d731eccb42b424d3be7ae0b0> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
05:38:12.652 [debug] <Token contract hash: 0x5c89779dcd70ab86d731eccb42b424d3be7ae0b0> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
05:38:12.654 [debug] <Token contract hash: 0x5c89779dcd70ab86d731eccb42b424d3be7ae0b0> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
09:14:10.582 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
09:14:10.606 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
09:14:10.613 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 06fdde03 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 313ce567 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
function: 95d89b41 - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
09:14:19.263 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
09:14:19.264 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
09:14:19.265 [debug] <Token contract hash: 0xe62583bfac0d644774890a319680a6ee1262a137> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
17:28:32.781 [debug] <Token contract hash: 0x937A95FF6E51C94B90B9B7C6CD4756DD6FC16F95> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 2
17:28:32.784 [debug] <Token contract hash: 0x937A95FF6E51C94B90B9B7C6CD4756DD6FC16F95> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 1
17:28:32.786 [debug] <Token contract hash: 0x937A95FF6E51C94B90B9B7C6CD4756DD6FC16F95> error while fetching metadata:
function: 18160ddd - error: (-32602) invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.from of type common.Address
Retries left: 0
Environment
elixir -12
):Steps to reproduce
Tell us how to reproduce this issue. ❤️ if you can push up a branch to your fork with a regression test we can run to reproduce locally.
Expected behaviour
show tokens, and good record in database
Actual behaviour
name | symbol | total_supply | decimals missing in table tokens
The text was updated successfully, but these errors were encountered: