Steven Allen
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Sami Mäkelä
74f35c88ad
checking verifreg handling
2020-08-19 15:27:50 +03:00
Raúl Kripalani
efdc428d5d
keep storage-fsm (renamed to storage-sealing) and sector-storage in extern.
2020-08-17 14:26:18 +01:00
Raúl Kripalani
3c17cd655e
integrate extern/sector-storage into lotus proper.
2020-08-16 11:09:58 +01:00
Aayush Rajasekaran
0359a458e4
Include more info in StateCirculatingSupply
2020-08-14 16:53:30 -04:00
Łukasz Magiera
9a39bb4e78
api: Remove unused StatePledgeCollateral
2020-08-13 14:03:59 +02:00
Aayush Rajasekaran
48ab706691
Subtract out genesis pledge and market funds when calculating circ supply
2020-08-12 15:32:11 -04:00
Aayush Rajasekaran
fe2da35a45
Move GetCircSupply out of the vm, and into stmgr
2020-08-12 15:32:07 -04:00
Steven Allen
9135a5d048
Pass bitfields by-value
...
This ensures we can't end up decoding nil bitfields from clients when not
expecting them.
Part of https://github.com/filecoin-project/specs-actors/issues/895 . Please see
this issue for details and leave any comments there.
2020-08-12 10:32:39 -07:00
Łukasz Magiera
bc381fc053
stmgr: Allow changing gas values in WaitMsg
2020-08-10 14:55:52 +02:00
whyrusleeping
fbe206f843
add command to view circulating supply
2020-08-07 12:57:03 -07:00
Łukasz Magiera
cad59b045b
More pond-related fixes
2020-08-07 16:07:48 +02:00
Jakub Sztandera
ab08858b45
Delete GasPrice from this world
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02:00
Łukasz Magiera
df38fe4bf6
Update specs-actors
2020-08-06 00:29:07 +02:00
Łukasz Magiera
4d328cad54
Get things to mostly work
2020-07-30 14:31:50 +02:00
Aayush Rajasekaran
729c052f64
Update specs-actors, support deal provider collateral bounds
2020-07-30 00:55:37 -04:00
Aayush Rajasekaran
49bca7f16c
Increase PreCommitDeposit and InitialPledgeCollateral overestimation to 1.1x
2020-07-29 20:06:22 -04:00
Łukasz Magiera
ed04c80bb1
Fix precommit deposit
2020-07-28 20:55:31 +02:00
Łukasz Magiera
927ee2406a
Downgrade actors, get tests to pass
2020-07-28 19:51:58 +02:00
Łukasz Magiera
473a1f91d5
Update specs-actors to 33f4d6e
2020-07-28 16:36:32 +02:00
Aayush Rajasekaran
6cf2fe50dc
Add CLI command to calculate pledge collateral of a CC sector
2020-07-24 19:32:48 -04:00
Łukasz Magiera
6aabd18479
More spect-actors updates
2020-07-23 23:03:25 +02:00
Steven Allen
5fc83f4d05
Refactor to use actor adt types instead of directly using HAMTs and AMTs
...
This way there's a single source of truth. Preparation for fixing
https://github.com/filecoin-project/specs-actors/issues/517 (requires changing
HAMT parameters).
2020-07-23 09:34:57 -07:00
Jakub Sztandera
7da629d03b
Update gas prices
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:31:05 +02:00
Łukasz Magiera
c4ded2fc07
Merge pull request #2469 from filecoin-project/fix/miner-info
...
fix miner info
2020-07-18 21:23:10 +02:00
Łukasz Magiera
0c8b451a00
fix miner info
2020-07-18 14:54:21 +02:00
Łukasz Magiera
780a892eb4
fix StateMinerInitialPledgeCollateral
2020-07-18 12:31:32 +02:00
Łukasz Magiera
956f4d5e14
update specs-actors more
2020-07-17 22:58:04 +02:00
Łukasz Magiera
56d13534b4
ProvingSet -> ActiveSectors
2020-07-17 16:26:48 +02:00
Łukasz Magiera
bbc2657023
Fix StateMinerProvingSet
2020-07-17 16:21:00 +02:00
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Łukasz Magiera
bdc8f7a2cb
Api getting correct sector expiration info
2020-07-16 17:24:41 +02:00
Jakub Sztandera
7b14d445b4
Update message gas limits
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +02:00
Łukasz Magiera
fc13794f5f
Update StateMinerProvingDeadline
2020-07-15 11:06:14 +02:00
Łukasz Magiera
0ccc9f65a6
gofmt
2020-07-14 19:10:37 +02:00
Łukasz Magiera
af87b9aa98
Fix widowed PoSt scheduler
2020-07-14 19:10:31 +02:00
Łukasz Magiera
f53bd6bdba
StateSectorPartition api
2020-07-14 14:32:17 +02:00
Łukasz Magiera
faebc4c948
WIP Integrating specs-actors with refactored miner state
2020-07-14 13:45:45 +02:00
Sami Mäkelä
d388566d5c
fixing
2020-07-14 12:54:18 +03:00
Łukasz Magiera
2e4ed57363
Merge remote-tracking branch 'origin/master' into next
2020-07-13 13:34:56 +02:00
Aayush Rajasekaran
69626272d5
Update with reward state changes
2020-07-12 00:30:42 -04:00
Aayush Rajasekaran
858513559b
API improvements
2020-07-11 23:54:58 -04:00
Hannah Howard
fe73c9fb71
Merge pull request #2240 from filecoin-project/feat/api-verif-cap
...
StateAPI for Verified Data Cap
2020-07-08 01:02:18 -07:00
Dirk McCormick
1ea11a748d
fix: go fmt
2020-07-07 10:01:08 -04:00
Dirk McCormick
c86e864d55
fix: use nil return from StateVerifiedClientStatus for not-found
2020-07-07 09:59:14 -04:00
Łukasz Magiera
40113933b4
gofmt
2020-07-06 22:47:39 +02:00
Łukasz Magiera
4b0ae7ef9a
Merge remote-tracking branch 'origin/master' into next
2020-07-06 11:38:19 +02:00
whyrusleeping
16e493a67a
provide decoded return values in output of StateWaitMsg
2020-07-03 09:57:58 -07:00
Dirk McCormick
8489fb258a
fix: return NotFoundErr from StateVerifiedClientStatus() if addr not found
2020-07-02 14:49:08 -04:00
Dirk McCormick
2c7aa318c1
feat: state API for verified client data cap
2020-07-02 12:10:11 -04:00