Aayush Rajasekaran
6732758d0f
Tweak mock ProveCommits to respect proof sizes
2021-02-19 17:22:59 -05:00
Łukasz Magiera
a8464a345b
Fix tests
2021-02-16 19:19:31 +01:00
Łukasz Magiera
332ea8a126
Merge remote-tracking branch 'origin/master' into feat/deal-batch-publish
2021-02-02 18:21:14 +01:00
Dirk McCormick
a19d6ce8a3
fix: zero price-per-byte retrieval
2021-02-01 16:55:18 +01:00
Dirk McCormick
987f41011a
refactor: move publish msg config inside deals config
2021-02-01 10:23:05 +01:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Łukasz Magiera
fabcbb621d
Merge remote-tracking branch 'origin/master' into next
2021-01-26 00:47:22 +01:00
Dirk McCormick
adac340f3f
feat: batch publish deal messages
2021-01-25 14:25:57 +01:00
Steven Allen
0a294f146f
ensure we can't dispute a correct window post
2021-01-22 14:30:54 -08:00
Steven Allen
94089a6a15
remove todos
2021-01-22 11:15:43 -08:00
Steven Allen
fdbb1d8f3b
tweak cc upgrade epoch
2021-01-22 10:04:06 -08:00
Steven Allen
9e611d5f4d
test evil post on recover
2021-01-22 09:34:15 -08:00
Steven Allen
9e63e5979e
test that the dispute worked, then recover
2021-01-22 08:29:00 -08:00
Frank
d0a1c5251c
fix test
2021-01-22 12:07:07 +08:00
Steven Allen
0ba1306969
test prove then dispute
2021-01-21 19:48:34 -08:00
Steven Allen
bd00c505b2
fix upgrade epoch for termiante test
2021-01-21 15:21:20 -08:00
Steven Allen
b00efcd701
further fix tests
2021-01-21 15:21:20 -08:00
Steven Allen
6ce5f2736e
update policy for v3
2021-01-21 15:21:20 -08:00
Steven Allen
ab4f135208
test actors v3
2021-01-21 15:21:20 -08:00
Dirk McCormick
ab1a52c632
refactor: deals API tests
2021-01-19 11:07:28 +01:00
Łukasz Magiera
f01f1d377b
Test pending terminations
2021-01-14 12:41:27 +01:00
Łukasz Magiera
1564db1fce
Sector termination test
2021-01-14 00:11:41 +01:00
Dirk McCormick
cb044f83a7
fix: ensure deal start is far enough in future for tests
2020-12-01 14:25:48 +01:00
Dirk McCormick
239e180683
feat: markets - separate watching for pre-commit from prove-commit
2020-11-24 13:24:41 -08:00
Steven Allen
d8afd71f4c
add a test to demonstrate SDR upgrade while committing sectors
2020-11-16 19:04:17 +01:00
Steven Allen
c8ff58aae1
add basic calico test
2020-11-16 19:04:17 +01:00
Łukasz Magiera
915c5e0fdd
Get most tests to pass
2020-11-16 19:03:30 +01:00
Dirk McCormick
0e3e449bf8
test: stop mining at the end of tests
2020-11-12 16:23:46 +01:00
Łukasz Magiera
efc8d90bc1
Fix flaky testMiningReal
2020-10-27 12:19:12 +01:00
Dirk McCormick
906286fdbe
feat: lite-mode - CLI tests for lotus client
commands
2020-10-23 15:02:49 +02:00
Dirk McCormick
92942d44d1
feat: lite-mode - market storage and retrieval clients
2020-10-23 15:02:26 +02:00
Steven Allen
70c39fe78c
Fix global test options
...
Set BELLMAN_NO_GPU on init.
Set InsecurePoStValidation once in an obvious place.
2020-10-22 09:19:46 -07:00
Steven Allen
4e730b5ec8
port to v2 imports
2020-10-21 12:16:23 -07:00
Jakub Sztandera
ce548c8f95
Add test
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-13 20:02:43 +02:00
Łukasz Magiera
65883cbb6b
Merge pull request #4290 from filecoin-project/feat/ledger-integration
...
adding in ledger support
2020-10-12 15:09:27 +02:00
Steven Allen
dc4e73c737
Test the tape upgrade
2020-10-12 00:01:25 -07:00
Jakub Sztandera
2b21fdef33
Refactor from crypto.SigType to types.KeyType
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:53 +02:00
Steven Allen
f3abd1ae82
make pledge test pass with the race detector
2020-10-09 20:32:09 -07:00
Dirk McCormick
200a95f824
refactor: unify test builder full node options
2020-10-09 11:56:25 +02:00
Dirk McCormick
d69e4c7cf2
refactor: lite-mode - simplify organization of dep injection
2020-10-09 11:54:42 +02:00
Dirk McCormick
ef73b964fb
feat: add end-to-end test for lite mode
2020-10-09 11:48:35 +02:00
Steven Allen
f8b2022f82
fix linters
2020-10-05 11:14:05 -07:00
Steven Allen
5a08b881d6
Test upgrade before/during/after cc upgrade
2020-10-05 11:05:00 -07:00
Steven Allen
8292d60196
Merge branch 'master' into asr/spec-v1
2020-10-02 18:03:03 -07:00
Steven Allen
f6ccab1c6c
ignore context canceled error in window post test
2020-10-02 17:47:01 -07:00
Steven Allen
6aba3e3b94
fix deal error message logging
2020-10-02 17:45:15 -07:00
Steven Allen
863a6ed38c
fix lints
2020-10-02 17:45:01 -07:00
Steven Allen
f1e5e9fe72
better upgrade test times
2020-10-02 17:31:26 -07:00
Steven Allen
a57288a4b9
run post before, while, and after upgrading
2020-10-02 17:27:44 -07:00
Steven Allen
8ad8a945fb
make it possible to override options when testing
2020-10-01 15:26:00 -07:00
Dirk McCormick
9dc75a7bc4
fix: verify voucher amount check
2020-10-01 11:35:41 +02:00
Steven Allen
4989b1cc90
Merge branch 'master' into asr/spec-v1
2020-09-30 09:19:12 -07:00
Steven Allen
1c03862854
fix policy for specs-actors update
2020-09-28 17:28:16 -07:00
Steven Allen
6fcf57ed1f
use actor state abstraction in payment channel test
2020-09-28 13:34:14 -07:00
zgfzgf
650725d71e
add printf
2020-09-26 17:30:58 +08:00
Steven Allen
ddcbcdea48
test sector status on expiring sectors
2020-09-25 12:16:35 -07:00
Aayush Rajasekaran
37de154a7c
Fixup tests
2020-09-18 01:56:21 -04:00
Steven Allen
ae38970526
remove WpostProvignPeriod function
2020-09-17 14:56:11 -07:00
Steven Allen
708aa368e1
remove dep on v0 miner
2020-09-17 13:53:18 -07:00
Łukasz Magiera
6eda53565f
Most tests passing
2020-09-17 17:30:24 +02:00
Aayush Rajasekaran
b530f25f09
Migrate miner actor
2020-09-16 17:20:25 -04:00
Łukasz Magiera
e996a5246b
Merge remote-tracking branch 'origin/master' into feat/window-post-faulty-sectors
2020-09-10 22:18:17 +02:00
Łukasz Magiera
5e7737f55d
wdpost: Handle skipped sectors correctly
2020-09-10 02:59:37 +02:00
Łukasz Magiera
38863d3025
build: Separate API versions per node type
2020-09-08 21:14:53 +02:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
Łukasz Magiera
d81feb05d1
Merge pull request #3527 from filecoin-project/feat/watch-option-miner-storage-deals-list
...
Add watch option to storage-deals list
2020-09-04 04:13:01 +02:00
Ingar Shu
1608cd2d53
Add watch option to "lotus-miner storage-deals list"
2020-09-03 10:14:30 -07:00
Dirk McCormick
2c98bf0cc7
feat: PaychAvailableFunds API method
2020-09-02 14:31:32 +02:00
whyrusleeping
36ff37ba47
Wait until blocks show up full nodes 'head' before claiming block has been mined
2020-08-26 17:51:16 -07:00
Steven Allen
f8a14184c7
Fix lint issue
2020-08-26 10:05:03 -07:00
Steven Allen
0155a31d1f
Fix PoSt with bad sectors
...
"skipped" sectors must be replaced with a substitute "good" sector, or the
entire partition must be skipped. They should not just be omitted.
This patch also fixes the test to verify the _entire_ proof instead of just
verifying that the proof includes the correct sectors.
2020-08-26 09:56:51 -07:00
whyrusleeping
d0585ca7bb
improve flakiness of a few tests
2020-08-25 15:07:10 -07:00
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
Łukasz Magiera
bee6c0e26e
Merge remote-tracking branch 'origin/master' into feat/paych-cli-tests
2020-08-20 00:12:47 +02:00
Dirk McCormick
043b63d8d8
feat: payment channel CLI tests
2020-08-18 11:26:08 -04:00
Aayush Rajasekaran
add56c8b81
Create eventless version of ClientRetrieve
2020-08-18 05:49:56 -04:00
Raúl Kripalani
862bafc63a
fix lint errors.
2020-08-17 14:39:33 +01: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
Raúl Kripalani
fb0ccc9260
integrate extern/storage-fsm into lotus proper.
2020-08-16 10:42:13 +01:00
Łukasz Magiera
12f7e2d9bf
Use a struct for send metadata in MpoolPushMessage
2020-08-12 22:17:29 +02:00
Łukasz Magiera
e1a1b325bc
Merge remote-tracking branch 'origin/next' into feat/max-msg-fee-config
2020-08-12 21:55:03 +02:00
Łukasz Magiera
491e24c90a
Merge pull request #2994 from filecoin-project/ingar/retrieval-logging
...
Generate more useful output during client retrieval
2020-08-12 20:36:14 +02:00
Łukasz Magiera
6fe743f3a9
Fix tests
2020-08-12 20:03:07 +02:00
Ingar Shu
8f56814ffb
Change formatting, stringify errors before returning over JSONRPC
2020-08-12 10:54:15 -07:00
Ingar Shu
02b0c8dd94
Watch context for completion also
2020-08-11 14:43:55 -07:00
Ingar Shu
53e06f358a
client retrieval logging
2020-08-11 13:04:00 -07:00
Dirk McCormick
a881e58cd6
refactor: use special type for paych wait sentinel
2020-08-11 10:45:45 -04:00
Jakub Sztandera
a826877ee3
Reduce overesitm to 10%, remove pledgeSectors test rate limit
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-09 00:37:24 +02:00
Łukasz Magiera
0612c2eab9
Merge remote-tracking branch 'origin/next' into feat/dyn-base-fee
2020-08-07 04:15:42 +02:00
whyrusleeping
de86167a7b
dont double close channels
2020-08-06 17:26:28 -07:00
whyrusleeping
41bc8f14a2
fix tests
2020-08-06 17:05:35 -07:00
Łukasz Magiera
07bf155295
Merge remote-tracking branch 'origin/next' into feat/dyn-base-fee
2020-08-06 23:41:54 +02:00
Łukasz Magiera
6ecd831cae
Fix TestPaymentChannels
2020-08-06 23:40:55 +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
hannahhoward
75771d10d4
fix(markets): replicate unsealing bug
2020-08-06 13:17:16 -07:00
Dirk McCormick
6d70d912a1
fix: payment channel integration test
2020-08-06 12:04:10 -04:00
Dirk McCormick
fdfccf0466
WIP: fix payment channel locking
2020-08-06 12:04:10 -04:00
Łukasz Magiera
e4f475ee59
gofmt
2020-08-04 19:07:31 +02:00
Łukasz Magiera
c839ca456f
wdpost: Test pleding a sector after recovery
2020-08-03 21:02:27 +02:00