Summary
Forest responses should be validated with the chain.data.riba.plus dataset that holds data for numerous RPC calls. Note that it's generated independently of Forest and Lotus so each mismatch can mean:
Those checks need to be integrated into CI but as first steps, we need to ensure it works locally (at least two days worth of data on both chains).
Completion Criteria
Check the output for the following methods, both calibnet and mainnet. Investigate discrepancies.
Additional Links & Resources
Sample script for checking eth_getBlockByNumber with accessList and logsBloom exceptions allowed.
https://gist.github.com/LesnyRumcajs/ca1632f2ed6c3ad52409f31b60ec25e0
Summary
Forest responses should be validated with the
chain.data.riba.plusdataset that holds data for numerous RPC calls. Note that it's generated independently of Forest and Lotus so each mismatch can mean:eth_getBlockReceiptsshould fail on null rounds #7287. The latter cases must be reported to the Lotus team.eth_getblockByNumberpossible discrepancy onaccessList#7205Those checks need to be integrated into CI but as first steps, we need to ensure it works locally (at least two days worth of data on both chains).
Completion Criteria
Check the output for the following methods, both calibnet and mainnet. Investigate discrepancies.
eth_getBlockByNumbereth_getBlockReceiptsFilecoin.ChainGetTipSetByHeighteth_getTransactionByBlockNumberAndIndexvia... eth_getBlockByNumber ... | jq -c '.result.transactions[$txnNum]'eth_getLogsvia... eth_getBlockReceipts ... | jq -c '[ ( .result // [] )[].logs[] ]'Filecoin.ChainGetParentMessages(not yet available in the dataset)Filecoin.ChainGetParentReceipts(not yet available in the dataset)Additional Links & Resources
Sample script for checking
eth_getBlockByNumberwithaccessListandlogsBloomexceptions allowed.https://gist.github.com/LesnyRumcajs/ca1632f2ed6c3ad52409f31b60ec25e0