Aayush Rajasekaran
b4ee519282
Partial progress towards switching to miner and power interfaces
2020-09-16 01:37:49 -04:00
Aayush Rajasekaran
937ff4e9ae
Add a sync test around blocks with bad nonce messages
2020-09-15 20:55:11 -04:00
Aayush Rajasekaran
e1a0cf6ca5
Add a checkpoint test
2020-09-09 19:21:48 -04:00
Aayush Rajasekaran
5e3c178b9e
Add a sync test for checkpointed tipsets
2020-09-09 14:34:04 -04:00
Aayush Rajasekaran
c77f5f6252
Revert "only subscribe to pubsub topics once we are synced"
2020-09-08 00:32:26 -04:00
Aayush Rajasekaran
d678fe4bfa
Fix tests
2020-09-07 15:48:42 -04:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
vyzo
e3aaedbc33
fix tests
2020-09-07 19:46:58 +03:00
vyzo
d9faff19a5
fix tests
2020-09-07 15:55:53 +03:00
Łukasz Magiera
f90cfda2e6
wallet: Add interface layer
2020-09-04 22:18:03 +02: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
Aayush Rajasekaran
532c32a741
Add new BlockMsgsForTipset()
2020-08-10 15:55:44 -04:00
Aayush Rajasekaran
c72f853e09
Add a test around duplicate nonces
2020-08-10 14:28:02 -04:00
Łukasz Magiera
73b8868046
gofmt
2020-08-06 03:32:59 +02:00
Lucas Molas
596f379690
run VerifyWinningPoStProof test on client node
2020-07-22 19:27:06 -03:00
whyrusleeping
e36fb5e622
ensure blocks with invalid winning post are not accepted
2020-07-22 14:04:20 -07:00
whyrusleeping
78e7e59381
Add test to check that bad winning post blocks are rejected
2020-07-22 12:12:41 -07:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Łukasz Magiera
907364ce67
Update deps, fix more tests
2020-06-15 18:30:49 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Jeromy
50fae56baf
Verify data for presealed data
2020-05-13 19:35:44 -07:00
Łukasz Magiera
ba389598ee
Cleanup build package
2020-05-12 19:59:28 +02:00
Jeromy
8a69467982
add some simple sanity checking to incoming blocks in the syncer
2020-05-08 10:59:18 -07:00
whyrusleeping
14f9724bc9
Don't double account for miner power when setting up genesis blocks
2020-03-10 15:42:41 -07:00
Łukasz Magiera
4dc35285dd
Minimum sector size is now 2k
2020-02-28 01:48:34 +01:00
Łukasz Magiera
220bd376b4
seed: Update lotus-seed for new genesis types
2020-02-12 22:41:59 +01:00
Łukasz Magiera
c0ed0dda8e
specs-actors: Fis some test compilation errors
2020-02-10 20:16:36 +01:00
Łukasz Magiera
558e4c7669
Fix tests after sectorbuilder update
2020-01-23 15:33:28 +01: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
hannahhoward
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
whyrusleeping
e27217c6a1
fix sync tests
2019-12-09 22:17:15 +01:00
Łukasz Magiera
7d13b28439
Fix tests using 1k sectors
2019-12-03 02:55:10 +01:00
Łukasz Magiera
5beb7f4a48
More review fixes
2019-12-02 19:56:27 +01:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
whyrusleeping
f03198c8a0
sync tests passing, still no vm integration
2019-11-22 10:41:09 -06:00
whyrusleeping
f8eabd3db4
Refactor mining logic to match specs ticket chain
2019-11-20 10:52:36 -06:00
Łukasz Magiera
ebdaa3f020
Fix TestSyncBadTimestamp with low BlockDelay
2019-11-05 18:33:58 +01:00
Łukasz Magiera
1d1f468c98
peer manager: Disable in tests
2019-10-23 13:02:00 +02:00
Jakub Sztandera
1bf713cb0a
Cleanup imports after rename
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
Łukasz Magiera
10dbf6e9d4
Fix sync_test
2019-10-15 14:32:33 +02:00
whyrusleeping
aa644fcbbb
call sync directly during submitblock
2019-10-15 21:19:10 +09:00
whyrusleeping
7c26e3c35f
WIP: ensure blocks make it into repo before pushing to pubsub
2019-10-14 23:21:37 +09:00
whyrusleeping
85684ba7e2
don't add bad blocks to tipsetcache
2019-10-10 12:04:10 +09:00
whyrusleeping
0182b804a2
give syncer ability to deal with forked chains
2019-10-05 23:14:50 -06:00
whyrusleeping
5cb819b322
lots of cleanup, and finally a chain fork test case repro!
2019-10-05 21:32:56 -06:00
whyrusleeping
76ceb1f25a
a bit more hacking to make the test framework bend to my will
2019-10-05 17:18:39 -06:00
whyrusleeping
fca5a4765d
begin allowing test framework to generate forks
2019-10-05 10:04:58 -06:00
whyrusleeping
317e83a410
fix sync tests by sorting tipsets
2019-10-01 12:47:42 -06:00
Łukasz Magiera
fe7efa753d
events: Build on chain API calls
2019-09-18 13:01:52 +02:00
whyrusleeping
9763810100
cleaup, small refactor
2019-09-17 19:55:51 -07:00
Łukasz Magiera
7f68fa9567
Fix tests
2019-09-17 16:45:09 +02:00
whyrusleeping
74f68dc630
perform tipset expansion on sync and fix tipset comparison
2019-09-09 19:14:27 -07:00
whyrusleeping
b5462542a8
fix tests and fix a bug in blocksync
2019-09-09 19:14:26 -07:00
whyrusleeping
6e21372ccb
initial refactor for creating tipsets with multiple parents
2019-09-09 19:12:32 -07:00
whyrusleeping
cc9b638788
use wait func in other test
2019-08-30 18:11:32 -07:00
whyrusleeping
d0d7d259b6
fix ChainNotify
2019-08-30 18:03:10 -07:00
whyrusleeping
d7ab382c8c
add (currently broken) testutil sync wait
2019-08-30 16:44:22 -07:00
Jakub Sztandera
349d9a2fad
Reenable test
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-27 22:31:58 +02:00
Jakub Sztandera
8557505cbd
Charge per put and get
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-27 17:01:17 +02:00
Łukasz Magiera
eda26faf21
Register miner address from storageminer process
2019-08-20 19:19:24 +02:00
Łukasz Magiera
82c449c047
fix sync_test.go
2019-08-20 18:51:10 +02:00
Łukasz Magiera
4431dffc39
miner: Create miner in DI
2019-08-20 18:50:17 +02:00
whyrusleeping
df5088ea77
bad merging caused this to get missed. my bad
2019-08-05 12:27:26 -07:00
Whyrusleeping
09539f9322
Merge pull request #118 from filecoin-project/feat/clarify-sync
...
clean up sync, make everything go in the same direction
2019-08-05 12:15:04 -07:00
whyrusleeping
0cba124be0
CI machines are slow, need to stop relying on time
2019-08-02 16:23:26 -07:00
whyrusleeping
280dac7945
make 'mineNewBlock' testhelper
2019-08-02 16:14:58 -07:00
whyrusleeping
14f6cc8a0b
clean up sync, make everything go in the same direction
2019-08-02 15:21:46 -07:00
whyrusleeping
dc7c0fcabe
refactoring to accomodate the bls message changes in the spec
2019-08-01 18:19:22 -07:00
whyrusleeping
a8b434a708
fix the most annoying bug ever
2019-07-31 10:43:57 -07:00
Łukasz Magiera
0f2334f513
chain sync: rebase 'fixes'
2019-07-31 10:43:14 -07:00
Łukasz Magiera
99aaafaed2
chain: Some sync cleanup
2019-07-31 10:43:13 -07:00
Łukasz Magiera
cdf0e0c858
chain: Test 'manual' sync
2019-07-31 10:43:13 -07:00
Łukasz Magiera
412a168151
chain: more work on chain sync, sync testing
2019-07-31 10:43:13 -07:00
Łukasz Magiera
b6439fa57d
chain: Test sync with messages
2019-07-31 10:43:13 -07:00
Łukasz Magiera
9ef5e1266e
chain: Test basinc sync on generated chain
2019-07-31 10:43:13 -07:00
Łukasz Magiera
a656aea7fe
chain: WIP Generated node sync test
2019-07-31 10:43:13 -07:00