Skip to content

Fix: Failure block sync in EVM Indexer Service #11

@jeongseup

Description

@jeongseup

I'm Jeongseup from Cosmostation. And I found a bug to sync blocks at evm indexer service side in the core.

When we want to get EVM tx receiptant from node, we got this unexpected nil result like bottom.

curl --location 'https://testnet.sentry.chain.json-rpc.injective.network/' \
--header 'Content-Type: application/json' \
--header 'Cookie: lb=a5e16ea18caf85bb44b0f90de9924f7d86e8f3145eeaa6ed0115e2893f69c8ff' \
--data '
{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_getTransactionReceipt",
    "params": ["0xfcbb2be314ebce4d703fb70d676859f021829914498a6694406059968dd38a31"]
}
'

=> Response
{"jsonrpc":"2.0","id":1,"result":null}

And also, we got these logs in the our node. that meant the evm indexer service cannot sync to follow new blocks.

ERR failed to fetch block result err="could not find results for height #80338636" height=80338636 indexer=evm module=main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions