Something we found on the translator is only on certain forks, the reader processes each new block as it where a fork, this is likely caused by a bug in the TimedSet datastructure.
2023-11-30T17:07:53.734Z [PID:593361] [info] : 312799318 pushed, at 2 blocks/sec
2023-11-30T17:07:54.734Z [PID:593361] [info] : 312799318 pushed, at 0 blocks/sec
2023-11-30T17:07:55.470Z [PID:593361] [info] : got 312799314 and expected 312799319, chain fork detected. reverse all blocks which were affected
2023-11-30T17:07:55.470Z [PID:593361] [info] : purging indices in db from block 312799314...
2023-11-30T17:07:55.471Z [PID:593361] [info] : got 312799315 and expected 312799319, chain fork detected. reverse all blocks which were affected
2023-11-30T17:07:55.471Z [PID:593361] [info] : purging indices in db from block 312799315...
2023-11-30T17:07:55.477Z [PID:593361] [info] : got 312799316 and expected 312799319, chain fork detected. reverse all blocks which were affected
2023-11-30T17:07:55.477Z [PID:593361] [info] : purging indices in db from block 312799316...
2023-11-30T17:07:55.607Z [PID:593361] [info] : drained 4 operations.
2023-11-30T17:07:55.607Z [PID:593361] [info] : broadcasting 1 blocks...
2023-11-30T17:07:55.607Z [PID:593361] [info] : done.
2023-11-30T17:07:55.641Z [PID:593361] [error] : Unhandled Rejection
2023-11-30T17:07:55.642Z [PID:593361] [error] : {
2023-11-30T17:07:55.642Z [PID:593361] [error] : The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
2023-11-30T17:07:55.642Z [PID:593361] [error] : TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
2023-11-30T17:07:55.922Z [PID:594266] [info] : Telos EVM Indexer 1.5
2023-11-30T17:07:55.923Z [PID:594266] [info] : Blocks will be shown in the following format: [native block num|evm block num]
2023-11-30T17:07:55.923Z [PID:594266] [info] : Happy indexing!
Something we found on the translator is only on certain forks, the reader processes each new block as it where a fork, this is likely caused by a bug in the TimedSet datastructure.
Examples of logs:
other: https://pastebin.com/bwL9Fi72 https://pastebin.com/yqE2bn6Q