Łukasz Magiera
68097132fe
Fix vm build
2020-09-14 13:45:20 +02:00
Łukasz Magiera
38f87981c1
Fix some build errors
2020-09-14 13:14:06 +02:00
Steven Allen
d3594835c4
[WIP] Network upgrade support
...
This patch starts adding support for network upgrades.
* It adds an actors abstraction layer for loading abstract (cross-version) actors.
* It starts switching over to a shared deadline type.
* It adds an abstraction for ADTs (hamt/amt).
* It removes the callback-based API in the StateManager (difficult to abstract
across actor versions).
* It _does not_ actually add support for actors v2. We can do that in a followup
patch but that should be relatively easy.
This patch is heavily WIP and does not compile. Feel free to push changes
directly to this branch.
Notes:
* State tree access now needs a network version, because the HAMT type will change.
* I haven't figured out a nice way to abstract over changes to the _message_
types. However, many of them will be type aliased to actors v0 in actors v2 so
we can likely continue using the v0 versions (or use the v2 versions
everywhere). I've been renaming imports to `v0*` to make it clear that we're
importing types from a _specific_ actors version.
TODO:
* Consider merging incremental improvements? We'd have to get this compiling
again first but we could merge in the new abstractions, and slowly switch over.
* Finish migrating to the new abstractions.
* Remove all actor state types from the public API. See `miner.State.Info()` for
the planned approach here.
* Fix the tests. This is likely going to be a massive pain.
2020-09-11 20:16:29 -07:00
Łukasz Magiera
a2f1e76fea
Merge pull request #3688 from filecoin-project/fix/test-vectors-import-cycle
...
resolve lotus, test-vectors, statediff dependency cycle
2020-09-09 19:53:54 +02:00
Łukasz Magiera
f2b76d8b3b
Merge remote-tracking branch 'origin/master' into fix/test-vectors-import-cycle
2020-09-09 19:41:24 +02:00
Whyrusleeping
e2a6d02570
Merge pull request #3664 from filecoin-project/add-sleep-when-drand-errors
...
add niceSleep 1 second when drand errors
2020-09-09 10:37:43 -07:00
Łukasz Magiera
1d78ffc04d
Merge pull request #3676 from filecoin-project/feat/mpool-replace-auto
...
add an auto flag to mpool replace
2020-09-09 19:31:43 +02:00
Łukasz Magiera
42b9d42a8f
Merge pull request #3624 from filecoin-project/blocksync-refactor
...
blocksync: introduce interfaces; rename to ChainExchange (abbrev. chainxchg)
2020-09-09 19:29:20 +02:00
Łukasz Magiera
7dbbe84086
Merge pull request #3690 from filecoin-project/docs/cli-paych-status
...
paych: add docs on how to use paych status
2020-09-09 19:25:32 +02:00
whyrusleeping
e9b85f5acb
ensure replaced message can properly RBF
2020-09-09 10:23:41 -07:00
Łukasz Magiera
cb3b0ab2bb
Merge remote-tracking branch 'origin/master' into blocksync-refactor
2020-09-09 19:19:05 +02:00
Łukasz Magiera
de772bf1f9
Merge pull request #3696 from filecoin-project/bugfix/pubsish
...
typo fix in error message
2020-09-09 18:45:20 +02:00
Łukasz Magiera
91a9bae308
Merge pull request #3691 from filecoin-project/codeowners
...
initial CODEOWNERS.
2020-09-09 18:43:28 +02:00
Mosh
fe7c152c97
typo fix in error message
2020-09-09 12:24:33 -04:00
Raúl Kripalani
333c7ce1c9
initial CODEOWNERS.
2020-09-09 14:40:30 +01:00
Dirk McCormick
ef2303bc5d
docs: add docs on how to use paych status
2020-09-09 15:37:34 +02:00
Raúl Kripalani
6d2b4ab775
fix lint.
2020-09-09 14:28:56 +01:00
Raúl Kripalani
b3dedfedc0
ci: remove unnecessary go get.
2020-09-09 14:20:11 +01:00
Raúl Kripalani
2a3743ff84
invoke the statediff command properly.
2020-09-09 14:08:54 +01:00
Raúl Kripalani
a5afd83c7b
Merge branch 'master' into fix/test-vectors-import-cycle
2020-09-09 13:04:41 +01:00
Raúl Kripalani
e8d1bab914
make the runner call statediff as a binary.
2020-09-09 13:03:43 +01:00
Łukasz Magiera
de654de911
Merge pull request #3687 from filecoin-project/misc/v0.6.2-rc1
...
Bump version to 0.6.2-rc1
2020-09-09 13:08:51 +02:00
Łukasz Magiera
37c0f75499
Bump version to 0.6.2-rc1
2020-09-09 13:07:15 +02:00
Łukasz Magiera
5c5c1c80cf
Merge pull request #3686 from filecoin-project/fix/gas-premium-median
...
gas: Fix median calc
2020-09-09 12:22:10 +02:00
Łukasz Magiera
e91ee9f62a
Fix lint
2020-09-09 12:18:02 +02:00
Łukasz Magiera
213b4eace8
Merge pull request #3685 from filecoin-project/fix/mpool-selection-full-blocks
...
adjust optimal selection to always try to fill blocks
2020-09-09 12:15:38 +02:00
Łukasz Magiera
f695c0c164
gas: Add tests to median premium math
2020-09-09 12:14:46 +02:00
vyzo
194b6eb9d8
fix issue with gasLimit check for trimming (> instead of >=)
2020-09-09 12:58:51 +03:00
Łukasz Magiera
2aba16e2c9
gas: Fix median calc
2020-09-09 11:41:02 +02:00
vyzo
0b09082450
adjust optimal selection to always try to fill blocks
2020-09-09 12:37:03 +03:00
Łukasz Magiera
29aa972f18
Merge pull request #3546 from filecoin-project/feat/netconnect-miner-addr
...
net cli: Support miner addresses in net connect
2020-09-09 08:55:51 +02:00
Aayush Rajasekaran
06b814b627
Merge pull request #3673 from filecoin-project/fix/long-syncs-over-upgrade
...
pass tipset through upgrade logic
2020-09-08 22:28:42 -04:00
whyrusleeping
8c0994e290
add an auto flag to mpool replace
2020-09-08 15:47:40 -07:00
Łukasz Magiera
b1d251e950
Merge pull request #3667 from filecoin-project/fix/new-ts
...
Add peer to peer manager before fetching the tipset
2020-09-08 22:54:51 +02:00
Raúl Kripalani
63cdbef219
temp fix test-vectors import cycle.
2020-09-08 21:50:25 +01:00
whyrusleeping
8a8f0ab3ec
pass tipset through upgrade logic
2020-09-08 13:45:44 -07:00
Łukasz Magiera
1ef0359731
Merge pull request #3668 from filecoin-project/feat/sync-fetching-messages-state
...
Add StageFetchingMessages to sync status
2020-09-08 21:15:05 +02:00
Jakub Sztandera
44f4372ca3
Add StageFetchingMessages to sync status
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 20:42:20 +02:00
Jakub Sztandera
46d3769a44
Add peer to peer manager before fetching the tipset
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 20:13:16 +02:00
Łukasz Magiera
65b7d71bdf
Merge pull request #3663 from filecoin-project/fix/minor-mpool-bug
...
fix very minor bug in repub baseFeeLowerBound
2020-09-08 19:49:51 +02:00
Anton Evangelatov
1d67e38f78
add niceSleep 1 second when drand errors
2020-09-08 18:35:10 +02:00
Łukasz Magiera
3697a1af4d
Merge pull request #3655 from filecoin-project/fix/stgmgr-undef-unsealed
...
storage manager: bail out with an error if unsealed cid is undefined (redux)
2020-09-08 18:03:24 +02:00
vyzo
26ff596983
fix very minor bug in repub baseFeeLowerBound
...
messages will not be accepted if the GasFeeCap is less than minimumBaseFee, but it doesn't hurt
to be correct.
2020-09-08 19:02:05 +03:00
Raúl Kripalani
b33db9c1ab
Merge branch 'master' into blocksync-refactor
2020-09-08 14:22:43 +01:00
Łukasz Magiera
867469e9b3
Merge pull request #3648 from filecoin-project/fix/dont-use-latency
...
Don't use latency as initital estimate for blocksync
2020-09-08 14:56:23 +02:00
Łukasz Magiera
a4fc5c6975
Merge pull request #3650 from filecoin-project/fix/chain-nearsync-check
...
fix isChainNearSync check in block validator
2020-09-08 14:52:36 +02:00
Łukasz Magiera
e87ccbfa22
Merge pull request #3657 from filecoin-project/fix/stg-sealer-read-piece
...
storage: return true from Sealer.ReadPiece() on success
2020-09-08 14:44:30 +02:00
Dirk McCormick
17c15a74a2
fix: return true from Sealer.ReadPiece() on success
2020-09-08 13:50:56 +02:00
Dirk McCormick
8bbdf2e7cb
fix: storage manager - bail out on undefined unsealed cid
2020-09-08 12:54:01 +02:00
Jakub Sztandera
b66058e417
Add 0 guard
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 12:19:37 +02:00