filecoin-project / builtin-actors

The Filecoin built-in actors
Other
81 stars 76 forks source link

Remove PRE_COMMIT_SECTOR_BATCH_MAX_SIZE and other gas-limited parameters #1268

Open jennijuju opened 1 year ago

jennijuju commented 1 year ago

related to https://github.com/filecoin-project/lotus/issues/10612

tl'dr: with FVM the execution gas are now properly accounted, and if the FVM gas accounting changes, the max value of how many msg can fit in one block may change.

Its better to remove thee limit from actors and have clients to perform gas estimation and properly aggregate sectors for users accordingly

anorth commented 1 year ago

There are other parameters that can be removed too, e.g. around Window PoSt.