Skip to content

LEVM: Fix stack overflow on LEVM #2445

Closed
@JulianVentura

Description

@JulianVentura

The EF blockchain test tests/prague/eip6110_deposits/test_deposits.py::test_deposit[fork_Prague-blockchain_test-single_deposit_from_contract_call_high_depth], from the prague/eip6110_deposits/deposits vector set is failing due to a stack overflow, when executed with LEVM.

Increasing the stack to ~11Mb makes the test pass:

RUST_MIN_STACK=11000000 cargo test

Most probably we have some structures that are being stored in stack memory and should be allocated in heap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglevmLambda EVM implementation

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions