graphprotocol / block-oracle

MIT License
7 stars 13 forks source link

Broken `celo` block deserialization #158

Closed tilacog closed 2 years ago

tilacog commented 2 years ago

Celo blocks have a different layout than other EVM chains, as we already know from our experience with Graph Node.

We could try to fix this by using our fork of the web3 crate or figuring out how to get only the block hash from a block number from our providers. (I don't think this is currently possible)

WARN Failed to get latest block from chain. Skipping. chain_id="celo:0" error="Decoder error: Error(\"missing field `sha3Uncles`\", line: 0, column: 0)"
WARN Failed to get latest block from chain. Skipping. chain_id="celo:alfajores" error="Decoder error: Error(\"missing field `sha3Uncles`\", line: 0, column: 0)"