nearcore icon indicating copy to clipboard operation
nearcore copied to clipboard

Introduce Compute Limit chunk property

Open aborg-dev opened this issue 1 year ago • 0 comments

With the introduction of Compute Costs the chunk now also has a Compute Limit beside the usual Gas Limit. At the moment Compute Limit matches the Gas Limit.

This introduces some confusion in the code where we assign gas limit to compute limit. To resolve this, we need to answer the following questions:

  • [ ] Gas limit is no longer used to limit the chunk capacity. What else is it used for? Can we fully replace it with compute limit?
  • [ ] Do we expect any other limits to be introduced in the future? E.g. Disk IOPS limit or Network usage limit.

aborg-dev avatar Mar 31 '23 13:03 aborg-dev