Closed zibuyu28 closed 2 weeks ago
Fixed PR: https://github.com/0xPolygonHermez/cdk-erigon/pull/585.
Root case: Using mapmutation consumes too much memory in the regenerateIntermediateHashes function, especially when processing blocks from 0 to the maximum block.
Test Result:
Tested on the XLayer Testnet with 8 cores and 64 GB of RAM.
Test branches: https://github.com/okx/xlayer-erigon/pull/18
Old method:
New method:
System information
Erigon version: branch zkevm
OS & Version: Linux
Commit hash:
Erigon Command (with flags/config):
Concensus Layer:
Concensus Layer Command (with flags/config):
Chain/Network:
Expected behaviour
Actual behaviour
Steps to reproduce the behaviour
Backtrace