Skip to content

Enable EVM gas based storage limit per tx #1467

@ashutoshvarma

Description

@ashutoshvarma

polkadot-evm/frontier#1142
Moonbeam upstream changes for storage limit per tx got merged, can be configured with new GasLimitStorageGrowthRatio config in pallet_evm

It is currently disabled right now by setting GasLimitStorageGrowthRatio to 0 in all runtimes

What to do?

Enable it for all runtimes

  • Configure GasLimitStorageGrowthRatio appropriate value
  • Account for storage growth in precompiles for all the native extrinsic dispatch, especially dispatch (& lockdrop) precompile we have that allows arbitrary whitelisted native calls
    • Explore if we can have an automated way to compute these values for native calls to be used in precompiles

Metadata

Metadata

Assignees

No one assigned

    Labels

    projectIssue is part of an ongoing project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions