Think of TestAPIDealFlow but with 512Mib sectors. If i try to make a deal with >1Mib data... that error happens. For 1600bytes, works correctly.

jsign 7 hours ago
(btw, targeting 8.13.0)

hannah 7 hours ago
weird. I thought we were dealing with provider collateral.

hannah 7 hours ago
I don’t have an obvious hypothesis but will review the relevant code.

hannah 7 hours ago
the ProviderCollateral here comes from StateDealProviderCollateralBounds — any reason that would return 0 @Magik6k?

jsign 6 hours ago
@hannah, looks like StateDealProvideCollateralBounds is the one returning that 1668, not the 0.
Let me do some check (edited)

jsign 6 hours ago
@hannah,
image.png
image.png

jsign 6 hours ago
pcMin for 10Mib, is 40 (note: my original post saying 1668 was for a bigger file) (edited)

jsign 6 hours ago
pcMin is returned by StateDealProviderCollateralBounds

jsign 6 hours ago
So looks like proposal.ProviderCollateral is the one that's 0

hannah 5 hours ago
what’s weird is the client is getting the value for ProviderCollateral from the exact same code. Are we sure the client is running a recent version of filecoin?

jsign 5 hours ago
yep. let me try to have some reproducible thing for this

jsign 5 hours ago
Sorry @hannah, got much worried about this problem... blocking for Powergate compilation.
Kubuxu
v0.4.3 this is trying to tell us something
From a thread in #fil-lotus-dev | Today at 1:03 AM | View reply

jsign 4 hours ago
(resuming this... just some GBs of proofs are getting downloaded. will report back if i can come up with a test to reproduce)

jsign 4 hours ago
have it! very soon some steps

jsign 4 hours ago
@hannah @Aayush Rajasekaran,
checkout https://github.com/jsign/lotus/tree/jsign/collateral
go test ./node -run TestAPIDealFlow$/TestDealFlow -v -count 1
(edited)

Aayush Rajasekaran 4 hours ago
Thanks! We think we know the problem, working on the fix rn…Will verify right after :slightly_smiling_face:

hannah 4 hours ago
hey @jsign we think we know what’s wrong here and @Aayush Rajasekaran is working on a fix.

jsign 4 hours ago
nice!