Skip to content

Allow to run eth_call on blocks that are non canonical #443

@mpaulucci

Description

@mpaulucci

For this, the evm should deal with block_hash instead of block_number when receiving the parent block.

See: https://github.com/lambdaclass/ethereum_rust/blob/main/crates/evm/evm.rs#L333

Also: https://github.com/lambdaclass/ethereum_rust/blob/0270aef928f7683fc2d23aaf39f1d525e7540d3a/crates/storage/storage.rs#L253

Let's also add a unit test for this usecase.

Endpoints that should accept non canonical blocks:
newPayload
call
another one else?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions