Skip to content

Limit work by message size

Dan Connolly edited this page Dec 3, 2025 · 3 revisions

We have postponed metering, but we do charge by message size. So our contracts should be designed to limit work to be proportional to message size, or perhaps O(messageSize * log^k(messageSize)).

See also:

a catalog of related problems: Accidentally Quadratic

Clone this wiki locally