filecoin-project / filecoin-project/builtin-actors
Optimize gas usage for `ExtendClaimTerms`
- Dominant language
- Rust
- Stars
- 96
- Forks
- 94
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 3
Description
The `ExtendClaimTerms` message seems to consumes a significant amount of gas, and with enough claims, it seems like it can be the sole transaction in a block and reducing chain throughput.
Example of such a period: `2025-01-16T16:59-2025-01-16T18:27`. As seen in the provided screenshot, most blocks in the epochs here consisted of just of a single message, which was large `ExtendClaimTerms` messages.

Example of one such messages extending 600 Claims: https://filscan.io/en/message/bafy2bzaced33vg7rtqc3rlhnyvsz5xxptd4d6obvunpd3nxwikx5rcqhfi4qk
```
Gas Used:
9,175,608,799
```
Contributor guide
Assessment
This issue has not been assessed yet.