vechain / vechain-sdk-js

The official JavaScript SDK for VeChain.
24 stars 9 forks source link

Collect all requirements for eth_getLogs #1072

Closed rodolfopietro97 closed 2 months ago

rodolfopietro97 commented 3 months ago

To have 'logIndex' and 'transactionIndex', we need to query a block for each entry into the logs. After from the block, we can get the transaction index and the log index. This is a performance issue because we have to query a block for each entry into the logs. So, the best is to implement it protocol side

rodolfopietro97 commented 3 months ago

@victhorbi

victhorbi commented 2 months ago

We have collected some feedback from @ifavo , the lack of the feature requires him to have a workaround in place for The Graph indexing process. cc @fabiorigam

victhorbi commented 2 months ago

Protocol team will make the information available on the client.