zkopru-network / zkopru

Ethereum L2 scaling solution for private transactions using zk-SNARK and optimistic rollup.
https://zkopru.network
GNU General Public License v3.0
217 stars 28 forks source link

block-processor worker not stop while syncing #392

Closed sifnoc closed 2 years ago

sifnoc commented 2 years ago

the blockCache need a method for unsubscribe newBlockHeaders event.

It seems blockProcesser.removeAllListener unsubscribe listeners include one belong in blockCache