Commit Graph

12235 Commits

Author SHA1 Message Date
Steven Allen
4f0b9eefc1 fix(lotus-sim): check for slash in names on copy 2021-06-18 15:44:35 -07:00
Steven Allen
8410b0f79f feat(lotus-sim): add a feature to copy/rename simulation.
Useful to backup old simulations before creating a new one.
2021-06-18 15:44:35 -07:00
Steven Allen
c5dc67ccd8 feat(lotus-sim): add a walk function
This way, we can easily walk the chain and:

1. Inspect messages and their results.
2. Inspect tipset state.
2021-06-18 15:44:35 -07:00
Steven Allen
ccdd660f0d feat(lotus-sim): more stats 2021-06-18 15:44:35 -07:00
Steven Allen
5f6733fe44 feat(lotus-sim): expose StateManager from Simulation 2021-06-18 15:44:35 -07:00
Steven Allen
0faacbe154 feat(lotus-sim): store start tipset 2021-06-18 15:44:35 -07:00
Steven Allen
a57c509e1e fix(lotus-sim): cleanup and document pre-commit filtering 2021-06-18 15:44:35 -07:00
Steven Allen
f9ebe3017d test(lotus-sim): test commit-queue rollover 2021-06-18 15:44:35 -07:00
Steven Allen
0725019bdb feat(lotus-sim): completely pack block
Instead of packing till we see "full". Prove-commits are large, we may
have room for some more pre-commits.
2021-06-18 15:44:34 -07:00
Steven Allen
dfdafa3c15 fix(lotus-sim): pretend all messages are BLS
It doesn't really matter, and it ensures they all get executed in-order.
2021-06-18 15:44:34 -07:00
Steven Allen
5b31ae39ea fix: test commit queue 2021-06-18 15:44:34 -07:00
Steven Allen
82019ce474 fix(lotus-sim): correctly merge forward commit queue. 2021-06-18 15:44:34 -07:00
Steven Allen
2e4f526375 fix(lotus-sim): skip (and log) missing/expired pre-commits 2021-06-18 15:44:34 -07:00
Steven Allen
0ccf716989 fix(lotus-sim): refactor miner state loading
Add a helper function so we don't need to constantly repeat ourselves.
2021-06-18 15:44:34 -07:00
Steven Allen
7925b69573 doc(lotus-sim): document block generation logic 2021-06-18 15:44:34 -07:00
Steven Allen
2f7d7aed31 feat(lotus-sim): refactor and document
Hopefully, this'll make this code a bit easier to approach.
2021-06-18 15:44:34 -07:00
Steven Allen
b7bfc06ebe feat(lotus-sim): add an info command 2021-06-18 15:44:34 -07:00
Steven Allen
be9e30e39d fix(lotus-sim): rename step to run
And make it run forever by default.
2021-06-18 15:44:34 -07:00
Steven Allen
8000decac6 feat(lotus-sim): add command to list pending upgrades 2021-06-18 15:44:34 -07:00
Steven Allen
e2f5c494b0 feat: implement lotus-sim 2021-06-18 15:44:34 -07:00
Łukasz Magiera
e7fa8589da
Merge pull request #6526 from filecoin-project/fix/reorgch-deadlock
chainstore: Don't take heaviestLk with backlogged reorgCh
2021-06-18 20:18:58 +02:00
Łukasz Magiera
2c2c37a138 chainstore: Don't take heaviestLk with backlogged reorgCh 2021-06-18 19:18:51 +02:00
Łukasz Magiera
085cabcda8
Merge pull request #6524 from filecoin-project/feat/proofs-v8.0.2
Update to proofs v8.0.2 with correct aggregate lengths
2021-06-18 17:15:56 +02:00
Łukasz Magiera
738ac926d1 Update ffi 2021-06-18 16:27:37 +02:00
Łukasz Magiera
5516f3492e ffiwrapper: Assert aggregate length 2021-06-18 12:02:42 +02:00
Łukasz Magiera
7f00a6e59c Proofs v8.0.2 with fixed aggregate lengths 2021-06-18 11:17:18 +02:00
Rjan
e56a171ab6
Use prebuilt proof binaries when building
Make the basic build instructions use the prebuilt proof binaries instead of building them from source. Removed rustup as a dependency, and linked to it in the full docs instead.
2021-06-18 10:59:53 +02:00
Łukasz Magiera
00372e144d
Merge pull request #6519 from filecoin-project/jen/bakcport-6041
Backport #6041 - storagefsm: Fix batch deal packing behavior
2021-06-18 10:43:32 +02:00
Łukasz Magiera
715176698f
Merge pull request #6521 from yaohcn/fix-commit-finalize
fix commit finalize failed
2021-06-18 10:38:58 +02:00
Cory Schwartz
d35fcd926f remove temp edits 2021-06-18 00:02:04 -07:00
Cory Schwartz
7f744b2760 require deps 2021-06-17 23:52:34 -07:00
Cory Schwartz
6e8cf9061a temp name 2021-06-17 23:48:35 -07:00
Cory Schwartz
86baa11937 test: build appimage in ci 2021-06-17 23:47:08 -07:00
Cory Schwartz
87f2a41052 only use embed for appimage 2021-06-17 23:46:01 -07:00
yaohcn
7c6736b3ef fix commit finalize failed 2021-06-18 12:09:02 +08:00
Łukasz Magiera
7f247bf553 Self-review cleanup 2021-06-17 20:53:14 -04:00
Łukasz Magiera
0a5a7cf45d storagefsm: Fix too-long log handling 2021-06-17 20:52:46 -04:00
Łukasz Magiera
b0128bd99e storagefsm: Fix race spawning more than one new sector at once 2021-06-17 20:52:42 -04:00
Łukasz Magiera
097baeb9b0 Make batch deal input test less flaky 2021-06-17 20:52:09 -04:00
Łukasz Magiera
5c8498b603 storagefsm: Fix batch deal packing behavior 2021-06-17 20:50:14 -04:00
Łukasz Magiera
bc27602bea events: Fix handling of multiple matched events per epoch 2021-06-17 20:48:58 -04:00
Łukasz Magiera
44de67cf7d
Merge pull request #6175 from filecoin-project/feat/dynamic-retreival-pricing
Dynamic Retrieval pricing
2021-06-17 10:25:48 +02:00
aarshkshah1992
9002fcbe47 local unsealed file wont have the unsealed piece 2021-06-17 09:46:29 +05:30
Aayush Rajasekaran
d250a59576
Merge pull request #6504 from filecoin-project/asr/rc5
Lotus version 1.10.0-rc5
2021-06-16 22:30:29 -04:00
Aayush Rajasekaran
71785f9099 Lotus version 1.10.0-rc5 2021-06-16 22:15:11 -04:00
Aayush Rajasekaran
d6dc081cfe
Merge pull request #6501 from filecoin-project/asr/fix-soup
Fix soup
2021-06-16 22:01:55 -04:00
Aayush Rajasekaran
c41ccde73d
Merge pull request #6503 from filecoin-project/backport/max-part-per-post
backport: pick the correct partitions-per-post limit
2021-06-16 20:12:14 -04:00
Aayush Rajasekaran
f6fb41fce5
Merge pull request #6502 from filecoin-project/fix/max-part-per-post
fix: pick the correct partitions-per-post limit
2021-06-16 20:11:29 -04:00
Steven Allen
526674cefa fix: pick the correct partitions-per-post limit 2021-06-16 16:56:30 -07:00
Steven Allen
653b1d8231 fix: pick the correct partitions-per-post limit 2021-06-16 16:53:52 -07:00