You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to make a storage deal, but I get the error message adding market funds failed: estimating gas limit: message execution failed: exit SysErrSenderStateInvalid(2), reason: actor balance less than needed: 102400 FIL < 1723050.0000000075 FIL (RetCode=2). However, my wallet seems to have sufficient funds.
To Reproduce
$ lotus wallet balance
102400 FIL
$ lotus client import testfile.txt
Import 1, Root bafkqad2imvwgy3zmeb3w64tmmqqqucq
$ lotus client deal bafkqad2imvwgy3zmeb3w64tmmqqqucq t03360 50 30000
bafyreiblp4742qt37hwxzzxpmzqrdjd6pi2rbdhdgdx5enij4eszc2x2ue
$ lotus client list-deals
DealCid DealId Provider State On Chain? Slashed? PieceCID Size Price Duration Message
bafyreiblp4742qt37hwxzzxpmzqrdjd6pi2rbdhdgdx5enij4eszc2x2ue 0 t03360 StorageDealError N N baga6ea4seaqdxqtlorrcolc6srv4qev46rrgjsr62ankwod36pcwmapb2wlpsny 127 B 1723050 FIL 34461 adding market funds failed: estimating gas limit: message execution failed: exit SysErrSenderStateInvalid(2), reason: actor balance less than needed: 102400 FIL < 1723050.0000000075 FIL (RetCode=2)
Expected behavior
It seems to be saying that I need a huge amount of FIL (1723050.0000000075) to pay the gas costs. This seems like an impossibly large amount for gas, though.
Screenshots
N/A
Version (run lotus version):
$ lotus version
Daemon: 0.4.1+git.190882ee+api0.8.1
Local: lotus version 0.4.1+git.190882ee
I'm using the reset ntwk-calibration branch.
Additional context
None
The text was updated successfully, but these errors were encountered:
$ lotus client query-ask t03360
Ask: t03360
Price per GiB: 0.0000000005 FIL
Max Piece size: 512 MiB
The min size for this miner is 256 bytes, and the CID I was storing was only 127 bytes. But this message seems like a weird way to fail over a CID size issue.
Ok, so the explanation is that 1723050.0000000075 is calculated as 50 FIL per epoch * 34461 epochs. Deal works as $ lotus client deal bafk2bzaceduf3gjkyqjmaohz5dg2mg5uvhzdjtczaur6lqkhi6ghkwh6zc5xk t03360 0.0000000005 30000
But leaving open because I think the error message is misleading. Is it really a gas problem?
Describe the bug
I'm trying to make a storage deal, but I get the error message
adding market funds failed: estimating gas limit: message execution failed: exit SysErrSenderStateInvalid(2), reason: actor balance less than needed: 102400 FIL < 1723050.0000000075 FIL (RetCode=2)
. However, my wallet seems to have sufficient funds.To Reproduce
Expected behavior
It seems to be saying that I need a huge amount of FIL (1723050.0000000075) to pay the gas costs. This seems like an impossibly large amount for gas, though.
Screenshots
N/A
Version (run
lotus version
):I'm using the reset
ntwk-calibration
branch.Additional context
None
The text was updated successfully, but these errors were encountered: