Ask questionsAdd a batched PreCommitSectors method
PreCommitSector method only supports committing a single sector at a time. It's one of the two highest frequency methods observed on the chain at present (the other being ProveCommitSector). High-growth miners commit sectors at rates exceeding 1 per epoch. It's also a relatively expensive method, with multiple internal sends and loading and storing state including:
AllocatedSectorsbitfield (read and modify)
PrecommittedSectorsHAMT (read and modify)
PreCommittedSectorsExpiryAMT (read and modify)
PreCommitSectorsBatch method has potential to amortize some of these costs across multiple sectors. If miner operators implemented a relatively short batch aggregation period (a few epochs), the number of invocations could be reduced significantly, and some of the state manipulations above reduced in proportion.
Answer questions ZenGround0
@stuberman this is an implementation concern so your question will be best addressed by filing an issue with the implementation you are using (sounds like https://github.com/filecoin-project/lotus is the right place)
Related questionsNo questions were found.