essential-contributions / essential-builder

Reference implementation of a block builder for the Essential Protocol.
Apache License 2.0
2 stars 0 forks source link

Limit solutions included in a block by a maximum gas limit #18

Open mitchmindtree opened 1 month ago

mitchmindtree commented 1 month ago

Currently we just attempt to include all solutions up to some limit that takes into consideration the maximum solution size (#17).

We currently collect the gas spent for all successful solutions, but we should probably also have an accumulator that we check while building so that we don't exceed some maximum limit.