-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make batch message more clever #9041
Comments
if message runs out of the gas (which the error returned is ErrOutOfGas), lotus should handle the message more intelligently, i.e: do less batching and split things into multiple messages. Message we wanna handle:
current state of art & related previous work: https://github.com/filecoin-project/lotus/releases/tag/v1.16.1 |
Splitting the batch for WindowedPost is considerably high effort for the below reasons:
In addition, filecoin-project/builtin-actors#677 in NV17 significantly reduces the underlying problem this is trying to solve with improving gas usage for expiring sectors Instead, we will implement a simpler change to have a user config which makes partitions with recovery sectors, the only partition in a single PoST message. This should further reduce the occurrence of the problem and is a significantly simpler change |
Descoping from nv17 milestone now that 9413 has landed -- it needs to be backported into |
Checklist
Ideas
.Lotus component
Improvement Suggestion
as stated in PRs like #8986
batch messages may hit block limit - lotus should be clever enough know when to chunk them and how.
The text was updated successfully, but these errors were encountered: