Łukasz Magiera
2ca0c152ba
Deal tests on mock sectorbuilder
2020-01-14 03:05:46 +01:00
Łukasz Magiera
a2bcc1fec2
Mostly functional mock sectorbuilder
2020-01-14 03:05:35 +01:00
whyrusleeping
6c9289df0a
don't require signatures for self deals
2020-01-09 14:18:06 -08:00
whyrusleeping
7ba34535b7
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-08 14:43:03 -08:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
Łukasz Magiera
f198e81af1
Merge pull request #1032 from filecoin-project/feat/drop-most-fatal-errors
...
reduce most vm errors to non-fatal, explicitly mark disk issues as fatal
2020-01-08 14:58:35 +01:00
whyrusleeping
3965e1053e
fix build
2020-01-07 21:05:45 -08:00
whyrusleeping
e41dbdad90
reduce most vm errors to non-fatal, explicitly mark disk issues as fatal
2020-01-07 19:46:55 -08:00
Jakub Sztandera
f572cdea47
Fix logic, improve tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
5e775929be
Cleanup handing and add tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
65724133ea
Add tests
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
a63c34a902
Handle faults in ss and pss correctly
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:18 +01:00
Jakub Sztandera
dbc729d049
Validate length of RLE
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 22:54:43 +01:00
Łukasz Magiera
22e9815928
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 21:45:30 +01:00
laser
20321bb476
handle rebase
2020-01-07 08:18:35 -08:00
Łukasz Magiera
97ae184d0a
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 15:06:35 +01:00
Łukasz Magiera
1e7f10e387
gofmt
2020-01-07 15:00:10 +01:00
hannahhoward
718acb0a86
refactor(cborutil): extract cborutil library
...
Use extracted cborutil library
2020-01-07 14:59:35 +01:00
hannahhoward
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
Łukasz Magiera
605562467d
Flatten fork code for testnet2
2020-01-06 19:39:57 +01:00
whyrusleeping
dafad17a9b
also test fault values out of range
2019-12-20 20:04:38 -08:00
whyrusleeping
8098d23768
test to ensure that submitting bad faults doesnt cause an error
2019-12-20 20:02:18 -08:00
whyrusleeping
5d9d51ba2d
don't fail execution if the fault set contains an invalid sector ID
2019-12-20 19:33:11 -08:00
Łukasz Magiera
e3a22d2027
Fix withUpdates
2019-12-20 09:31:59 +01:00
Łukasz Magiera
ef3795ae3d
Merge pull request #988 from filecoin-project/fork/fix-no-power-eps
...
FORK: No power EPS Fix
2019-12-19 22:53:35 +01:00
Łukasz Magiera
f7604b84f7
Merge pull request #965 from filecoin-project/feat/no-fatal-serialization
...
make serialization error non-fatal
2019-12-19 22:04:27 +01:00
Łukasz Magiera
6ce4cf12f7
Care about nullblocks in handleStateForks
2019-12-19 21:01:05 +01:00
Łukasz Magiera
d21e24c270
don't modify existing actor code
2019-12-19 20:38:50 +01:00
Łukasz Magiera
3f54cbabe0
FORK: No power EPS Fix
2019-12-19 19:47:25 +01:00
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +01:00
Łukasz Magiera
7fd31192d2
Merge pull request #964 from filecoin-project/feat/sb-faults
...
Wire up faults in fPoSt
2019-12-18 17:37:27 +01:00
whyrusleeping
897d4c7d24
make serialization error non-fatal
2019-12-17 19:41:58 -08:00
whyrusleeping
fda3811dcf
Update cbor-gen to latest master
2019-12-17 19:06:06 -08:00
Łukasz Magiera
2e95a53679
Wire up faults in fPoSt
2019-12-17 23:33:08 +01:00
Łukasz Magiera
1415ba4ce7
Merge pull request #898 from filecoin-project/feat/storage-market-tracing
...
add a bit more tracing in publish storage deal
2019-12-13 10:59:31 +01:00
whyrusleeping
28a325efe6
soft fail messages that cause precomitted sectors map to become too large
2019-12-13 00:00:20 +01:00
whyrusleeping
71cbd79290
add a bit more tracing in publish storage deal
2019-12-12 19:25:15 +01:00
Łukasz Magiera
c816ded4e5
Merge pull request #814 from filecoin-project/feat/minimum-miner-size
...
implement a minimum miner size
2019-12-09 21:32:30 +01:00
whyrusleeping
d64f8a38d1
implement a minimum miner size
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 21:30:04 +01:00
Łukasz Magiera
d750723405
Merge remote-tracking branch 'origin/testnet-staging' into feat/cleanup-sectorstate-structs
2019-12-09 21:27:20 +01:00
whyrusleeping
d2448912a6
Implement basic fault handling
...
WIP: miner actor tests
working miner actor test
rebase and fix tests
2019-12-09 20:53:43 +01:00
Łukasz Magiera
ff963dfea5
Merge pull request #780 from filecoin-project/feat/storage-deal-cleanup
...
Clean up storage deal structures
2019-12-09 18:31:18 +01:00
Łukasz Magiera
94df2c656e
Use map encoders for some structs
2019-12-09 17:40:15 +01:00
Łukasz Magiera
570d725ce5
type-gen
2019-12-09 15:41:44 +01:00
whyrusleeping
eba3f4af86
address PR review
2019-12-08 23:39:08 +01:00
whyrusleeping
4ed7a0826b
don't print giant long proof in error message
2019-12-08 18:32:44 +01:00
whyrusleeping
f0653decf3
Clean up storage deal structures
2019-12-07 21:29:37 +01:00
Jakub Sztandera
6e4761c819
Fix rleplus in actor code
...
,
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-07 15:51:31 +01:00
Łukasz Magiera
3673a9110f
Merge pull request #743 from filecoin-project/feat/static-check-2
...
more of that sweet staticcheck goodness
2019-12-05 12:21:43 +01:00
whyrusleeping
613a0a05a0
more of that sweet staticcheck goodness
2019-12-04 18:04:09 -08:00
whyrusleeping
43f2286890
Set maximum sector ID to 2^48-1
2019-12-04 17:32:34 -08:00
whyrusleeping
c1cd332ff7
impose a maximum sector ID
2019-12-02 23:46:58 -08:00
Whyrusleeping
dd6e75f49d
Merge pull request #666 from filecoin-project/feat/election-post
...
Election post restructuring
2019-12-02 15:32:12 -08:00
Łukasz Magiera
fd8f65248b
deals: Correctly set deal ID in provider states
2019-12-01 21:07:57 +01:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
Łukasz Magiera
703bc7e774
Fix slashing / power recovery issues
2019-11-29 21:18:34 +01:00
Łukasz Magiera
ad978949db
import sector/deal into state machines on init
2019-11-29 20:11:42 +01:00
whyrusleeping
01e4958f73
remove debug prints
2019-11-28 21:25:03 -08:00
whyrusleeping
ce89ddbd6a
fixing some tests
2019-11-28 21:38:18 -06:00
Łukasz Magiera
cb7d15e67e
genesis setup improvements
2019-11-28 23:50:58 +01:00
Łukasz Magiera
920fd3ba9b
storageminer: New fallback post scheduler
2019-11-28 18:44:57 +01:00
Łukasz Magiera
aefd432422
actors: Fallback post progress
2019-11-28 13:46:56 +01:00
whyrusleeping
7afc0d4dbe
dedupe some code
2019-11-27 21:38:00 -06:00
whyrusleeping
45288b8810
WIP: uncomment out windowed post code, try to make it work
2019-11-27 21:36:34 -06:00
laser
3623925f66
replace go-bls-sigs and go-sectorbuilder with filecoin-ffi
...
- remove old submodules and add new submodule
- update build tooling to consume new unified static library
- update consumers of old libs to use new package
2019-11-26 18:16:37 -08:00
whyrusleeping
a98295a747
use the correct sector sizes in places
2019-11-25 20:43:43 -06:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
Łukasz Magiera
96023d415e
actors: Implement cron actor
2019-11-22 23:51:44 +01:00
whyrusleeping
f03198c8a0
sync tests passing, still no vm integration
2019-11-22 10:41:09 -06:00
whyrusleeping
96482f456a
WIP: election post restructuring
2019-11-21 16:21:45 -06:00
whyrusleeping
d57f048c2c
reject blocks with nil signatures
2019-11-20 11:14:08 -06:00
whyrusleeping
b77bb9e4aa
Audit pass for blatantly wrong panics
2019-11-16 17:41:14 -06:00
Łukasz Magiera
d40f5a36da
Catch up on null blocks in CheckProofSubmissions call
2019-11-15 00:55:05 +01:00
Łukasz Magiera
e0089218a1
Review fixes
2019-11-15 00:23:07 +01:00
Łukasz Magiera
b9bd3e2030
Unhack TestStorageMarketCreateAndSlashMiner
2019-11-14 21:26:30 +01:00
Łukasz Magiera
e9631601e3
Fix the rest of power slashing issues
2019-11-14 17:23:22 +01:00
Łukasz Magiera
f4fc3bcc29
Fix most power slashing issues
2019-11-14 12:56:17 +01:00
Łukasz Magiera
2dd155e9e9
Make basic slashing work
2019-11-14 01:02:24 +01:00
Łukasz Magiera
7363ec714a
chain: make tests pass after slashing changes
2019-11-14 00:35:58 +01:00
Łukasz Magiera
0241e31129
chain: wire CheckProofSubmissions to computeTipSetState
2019-11-14 00:14:11 +01:00
Łukasz Magiera
e48949b41f
chain: cbor-gen
2019-11-14 00:04:13 +01:00
Łukasz Magiera
05f157554f
actors: IsMiner -> IsValidMiner
2019-11-14 00:00:11 +01:00
Łukasz Magiera
e094ace303
actors: CheckMiner methods on Miner/Power actors
2019-11-13 23:40:51 +01:00
Łukasz Magiera
6b398cba74
actors: UpdateStorage now manages proving buckets
2019-11-13 22:16:17 +01:00
whyrusleeping
9e464a4b90
more tracing spans
2019-11-12 12:42:22 -08:00
whyrusleeping
af2789c3d8
fix non-deterministic map serialization
2019-11-07 14:55:24 -08:00
Łukasz Magiera
eca5501923
remove some outdated todos
2019-11-07 13:06:32 +01:00
Łukasz Magiera
be0d07e143
pass deal IDs in SectorPreCommitInfo
2019-11-07 13:03:18 +01:00
Łukasz Magiera
bcf9778b18
Update cbor-gen post-merge
2019-11-05 19:02:28 +01:00
Łukasz Magiera
ed5ccfd750
Merge remote-tracking branch 'origin/devnet/7' into feat/interactive-porep
2019-11-05 18:53:19 +01:00
Łukasz Magiera
1f56bcf581
Some param changes
2019-11-05 17:15:52 +01:00
whyrusleeping
9a398c6260
Track down all the uses of cboripld and eliminate them
2019-11-04 19:42:13 -08:00
Łukasz Magiera
c550e030b1
INTERACTIVE PROEP IS ALIVE
2019-11-02 16:07:26 +01:00
Łukasz Magiera
3bc4a5dddf
More progress on fixing storing garbage data
2019-11-02 00:43:54 +01:00
Łukasz Magiera
1dcebece71
Some smaller fixes
2019-11-01 23:44:55 +01:00
whyrusleeping
a13dfcf96b
Add extra check sanity check for timing
2019-11-01 13:27:59 -07:00
whyrusleeping
fc9091cc89
Get interactive porep sector sealing mostly working
2019-10-31 20:57:10 -07:00
whyrusleeping
4e478330a4
more refactoring for interactive porep scheduling
2019-10-31 09:55:35 -07:00
whyrusleeping
759094198c
Some more progress on interactive porep
2019-10-30 18:22:50 -07:00
Łukasz Magiera
7fa3e2db7a
WIP Interactive PoRep
2019-10-30 19:10:29 +01:00