Skip to content

eth_getblockByNumber possible discrepancy on accessList #7205

@LesnyRumcajs

Description

@LesnyRumcajs

Summary

In case of empty accessList Lotus returns [] and Forest null.

❯ curl -s -X POST http://localhost:2345/rpc/v2 \
         -H 'Content-Type: application/json' \
         -d '[{
       "jsonrpc": "2.0",
       "id": "1",
       "method": "eth_getBlockByNumber",
       "params": ["latest" , true]
     }]' | jq

This needs investigating.

Completion Criteria

  • Check what's the correct behavior - source of truth is real Ethereum impls (check at least two, default to reth).
  • if Forest is in the wrong, fix, otherwise report to FilOz
  • ensure regression test catch this - this is a discrepancy between the nodes that should've been caught ahead of time.

Additional Links & Resources

Metadata

Metadata

Assignees

Labels

Type: TaskDiscrete task to implement

Type

No type
No fields configured for issues without a type.

Projects

Status
In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions