unicornultrafoundation / go-u2u

Implementation of U2U Network in Golang
https://u2u.xyz
GNU Lesser General Public License v3.0
4 stars 3 forks source link

trace_filter rpc failed #73

Closed rameight closed 8 months ago

rameight commented 8 months ago

Graphnode relies on trace API to index onchain data by calling trace_filter. Error on testnet:

INFO [10-31|00:54:12.688] EVM was canceled due to timeout when replaying transaction  txHash=0x2e3468eba6510701d8a69ece2f867729777c9ebe4420ecec9fc7b3c33ec345ca
INFO [10-31|00:54:12.689] Replaying transaction                    txHash=0x91ed491259713ac747317f871657f622b5c3bdf6d25c2fb494b55230db9d2422
INFO [10-31|00:54:12.689] Replaying transaction                    txHash=0xe60fd56331761dab70f6ac1c6a68641de78c04c089578f8bfbc77c05d4f3d299
panic: Not equal state when replaying tx 0x91ed491259713ac747317f871657f622b5c3bdf6d25c2fb494b55230db9d2422

goroutine 34852 [running]:
github.com/unicornultrafoundation/go-u2u/ethapi.(*PublicTxTraceAPI).traceTx(0xc00020df00, {0x1be7b88, _}, {0x1a43740, 0x1a43748, 0xc019aa4450, {0x0, 0x0, 0x0, 0x0, ...}, ...}, ...)
 /go/go-u2u/ethapi/tx_tracer.go:136 +0x14f4
github.com/unicornultrafoundation/go-u2u/ethapi.(*PublicTxTraceAPI).traceBlock(0xc00020df00, {0x1be7b88, 0xc001df3ad0}, 0xc018cc3c00, 0x0, 0x0)
 /go/go-u2u/ethapi/tx_tracer.go:235 +0x16f3
github.com/unicornultrafoundation/go-u2u/ethapi.worker(0x0?, 0xc00020df00, {0x1be7b88, 0xc001df3ad0}, 0xc0006cdb60?, 0x0?, 0x0, 0xc001df3b30)
 /go/go-u2u/ethapi/tx_tracer.go:578 +0xe5
github.com/unicornultrafoundation/go-u2u/ethapi.(*PublicTxTraceAPI).Filter.func3()
 /go/go-u2u/ethapi/tx_tracer.go:464 +0x7f
created by github.com/unicornultrafoundation/go-u2u/ethapi.(*PublicTxTraceAPI).Filter
 /go/go-u2u/ethapi/tx_tracer.go:462 +0xb25