Status
šµ
DRI
nikkolasg g
Team
š® Protocol Opportunities
Date
Goal
Quarter
2023Q3
OKR
šØProblem
The FIL+ allocation strategy is slow, costly and does not scale onchain.
š”Goal
Clients can create a single allocation for data that will span multiple sectors.
The primary goal is to reduce theĀ workload/cost on the clientĀ and for the SP as well by claiming multiple allocationsĀ at once.
šĀ Mechanism
We propose the clientĀ use a commitmentĀ to represent a set of Piece CIDs (CommPs) that the client wishes to put on Filecoin.
The client can then do aĀ single allocation for this set of CommPs.
The SP can claim set of commPs eitherĀ incrementallyĀ (one by one) or by batches.
Expected gas cost improvements:
šĀ Documents
- FIP discusison https://github.com/filecoin-project/FIPs/discussions/708
ā£
ā£
- 10gas/ns is the translation factor
- 20k overhead per syscall
- 0.6gas per byte
ā£
ā£
ā£
ā£
ā£
ā£
- X * 32 * 2 * 0.6 = nothing, 2k for 64 opening
ā£
ā£
ā£
ā£
ā£