0LNetworkCommunity/libra-framework

Manual epochs error: EXECUTION_LIMIT_REACHED

Closed this issue · 2 comments

Manual epoch boundaries failing in prod on:
EXECUTION_LIMIT_REACHED

The global gas limit hits a limit on epoch boundary caltulations.
The limit is set in 0x1::GasScheduleV2::txn.maximum_number_of_gas_units

The solution is to either bypass this check on the diem-node execution. Or increase the maximum gas allowed.

@0xzoz here's an experimental fix which could apply in vendor code. https://github.com/0LNetworkCommunity/diem/blob/skip-gas-on-gov/diem-move/diem-vm/src/diem_vm.rs#L461

I think it's gross. But maybe the safest way.

Closing due to the fix being implemented and merged here