ethereumjs / ethereumjs-blockstream

Reliable stream of Ethereum blocks
MIT License
80 stars 19 forks source link

Adds support for deduping logs. #13

Closed MicahZoltu closed 6 years ago

MicahZoltu commented 6 years ago

Multiple filters can return the same log, so we need to dedupe logs rather than throwing. This is a breaking change because we previously had documented behavior that duplicate logs would throw, whereas now we just assert that if the block hash and index are the same, then the log is the same.

Fixes #7