1

Our Dapp uses events as a form of storage. For connection to blockchain we use local Parity node.

A couple of days ago I needed to resync it after the server failure. After the resync all methods that use web3's getPastEvents (which uses eth_getLogs, I believe) return an empty array.

It seems that warp sync doesn't download event logs at all. If I make event-emitting transaction after the sync, getPastEvents returns this new event, so it increases my confidence in the fact that warp sync is the source of the problem. Besides when connected to Infura node methods return proper event logs.

Is there a way to download only event logs after warp sync? Or is it possible to warpsync only to specific block and then switch to full sync?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.