qiyichain / peculiar

Golang implemention of Qiyi chain which is a high-performance permissioned public chain
https://qiyichain.cn
GNU Lesser General Public License v3.0
3 stars 1 forks source link

Failed to compile tracer debug_traceTransaction #1

Closed youngqqcn closed 2 years ago

youngqqcn commented 2 years ago
WARN [08-16|19:58:55.597] Failed to compile tracer                 err="SyntaxError: unterminated statement (line 445)"
WARN [08-16|19:58:55.597] Served debug_traceTransaction            conn=172.16.100.105:52366 reqid=0 t=14.065055ms err="tracer not found"
WARN [08-16|19:58:55.598] Failed to compile tracer                 err="SyntaxError: unterminated statement (line 445)"
WARN [08-16|19:58:55.598] Served debug_traceTransaction            conn=172.16.100.105:52270 reqid=0 t=14.70831ms  err="tracer not found"
WARN [08-16|19:58:55.612] Failed to compile tracer                 err="SyntaxError: unterminated statement (line 445)"
WARN [08-16|19:58:55.613] Served debug_traceTransaction            conn=172.16.100.105:52366 reqid=0 t=13.814965ms err="tracer not found"
WARN [08-16|19:58:55.614] Failed to compile tracer                 err="SyntaxError: unterminated statement (line 445)"
WARN [08-16|19:58:55.614] Served debug_traceTransaction            conn=172.16.100.105:52114 reqid=0 t=13.953112ms err="tracer not found"
WARN [08-16|19:58:55.614] Failed to compile tracer                 err="SyntaxError: unterminated statement (line 445)"
WARN [08-16|19:58:55.614] Served debug_traceTransaction            conn=172.16.100.105:52270 reqid=0 t=15.101887ms err="tracer not found"

code : https://github.com/qiyichain/peculiar/blob/yqq/merge-for-v0.0.1/eth/tracers/js/tracer.go#L551-L552

youngqqcn commented 2 years ago

this issue caused by blockscout , fix in https://github.com/qiyichain/blockscout/pull/14