Albert·Gou
e45a7749b0
Update sync.go
2020-09-14 16:20:01 +08:00
Albert·Gou
b7ea145f38
Merge remote-tracking branch 'upstream/master' into master
2020-09-14 16:17:10 +08:00
Aarsh Shah
6c61ff0e9e
log error
2020-09-14 12:04:50 +05:30
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
Jakub Sztandera
d5aef296ea
Increase the FeeCap estimation to 20 blocks in a future
...
FeeCap will be set to 10x the current running rate
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-11 21:59:51 +02:00
Łukasz Magiera
aa83a4c1f5
Merge pull request #3772 from filecoin-project/fix/prune-protect-local
...
don't prune locally published messages
2020-09-11 21:46:21 +02:00
Łukasz Magiera
b83463ca76
Merge pull request #3774 from filecoin-project/fix/paych-status-missing
...
add paych status command to list
2020-09-11 21:45:25 +02:00
Łukasz Magiera
c1ca24e8bc
Merge pull request #3775 from filecoin-project/fix/markets-message-cid-update
...
Fix for PublishDeals message cid changing due to gas
2020-09-11 21:44:56 +02:00
vyzo
b78fe0b898
fix deadlock
2020-09-11 21:40:25 +03:00
vyzo
bf1036c78f
rename priority variable to protected
2020-09-11 21:12:11 +03:00
Ingar Shu
2e3ff9e401
Update market client/provider adapters to WaitForMessage API
2020-09-11 11:00:42 -07:00
Aarsh Shah
eabdf74946
changes as per review
2020-09-11 23:15:57 +05:30
vyzo
cf9820137c
don't prune locally published messages
2020-09-11 20:32:52 +03:00
Raúl Kripalani
c017d0fbaf
Merge pull request #3768 from filecoin-project/fix/chaos-tests
...
fix: chaos tests
2020-09-11 15:45:02 +01:00
Alan Shaw
16f7d5801b
fix: chaos tests
2020-09-11 15:25:59 +01:00
Aarsh Shah
62b2963781
retry add piece
2020-09-11 16:58:09 +05:30
Raúl Kripalani
cd9858420f
Merge pull request #3736 from filecoin-project/test/chaos-tests
2020-09-11 12:18:27 +01:00
Łukasz Magiera
4410da98be
Merge pull request #3766 from filecoin-project/fix/mpool-prune
...
refactor getBaseFeeLowerBound, use it to prune less aggressively
2020-09-11 11:40:26 +02:00
Łukasz Magiera
b89aa02d77
Merge pull request #3710 from filecoin-project/feat/window-post-faulty-sectors
...
windowed post generation now returns faulty sectors
2020-09-11 11:15:32 +02:00
vyzo
3dfb3e641b
refactor getBaseFeeLowerBound, use it to prune less aggressively
2020-09-11 12:15:03 +03:00
Łukasz Magiera
a3f228d05a
Merge pull request #3739 from filecoin-project/upd/badger
...
Upgrade badger
2020-09-11 11:14:39 +02:00
Łukasz Magiera
eaf9ebc2ca
Merge pull request #3752 from filecoin-project/fix/mpool-replace-auto
...
Fix mpool replace --auto
2020-09-11 11:12:35 +02:00
Łukasz Magiera
55e4183825
Merge pull request #3754 from filecoin-project/feat/shed-export
...
Add faster and slimmer option to chain export via lotus-shed
2020-09-11 11:10:41 +02:00
Łukasz Magiera
aeb3437a9f
lint, docsgen
2020-09-11 10:55:10 +02:00
Albert·Gou
6e7de3c8d9
optimize definition of state_heights
...
In the same parentstateroot, the one with the smallest height should be selected
2020-09-11 16:52:48 +08:00
Łukasz Magiera
d0175392c0
Merge remote-tracking branch 'origin/master' into feat/window-post-faulty-sectors
2020-09-11 10:47:39 +02:00
Łukasz Magiera
c4b3970c70
mod tidy
2020-09-11 10:41:24 +02:00
whyrusleeping
72eb17d314
wire skip old messages option through the api
2020-09-10 17:40:47 -07:00
whyrusleeping
0efe5ee7d5
include some other changes
2020-09-10 17:32:30 -07:00
whyrusleeping
0e3dd3cb3b
Add faster and slimmer option to chain export via lotus-shed
2020-09-10 17:28:25 -07:00
hannahhoward
56b237e7b8
fix(paych): add status command to list
...
Add paych status cmd to list of payment channel sub commands
2020-09-10 16:00:23 -07:00
Jakub Sztandera
2865a0367b
Fix mpool replace --auto
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-11 00:59:57 +02:00
Aayush Rajasekaran
232cc320bd
Merge pull request #3747 from filecoin-project/ntwk-0.7.0
...
Ntwk 0.7.0
2020-09-10 18:07:06 -04:00
Aayush Rajasekaran
e7edc46daf
Lotus version 0.7.0
2020-09-10 17:56:54 -04:00
Jakub Sztandera
6813ab4e65
Add additional metrics
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
fd714cbceb
Remove PackingEfficiency consideration from base fee in an upgrade
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
whyrusleeping
db6bd890d9
condition randomness changes on fork height
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Steven Allen
7a46c5ff31
[WIP] Fix ticket randomness
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
98a9042c07
Use newest network version in genesiss setup stuff
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
4170e18dea
fix testground build
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
230ef2484d
fix tests
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
beba92aed4
Improve network versioning logic
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
cbb693e99e
Update docs
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
774e068436
Update to specs-actors v0.9.8
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
86ba21029d
Update to go state types 001afaca718c
2020-09-10 17:41:55 -04:00
Aayush Rajasekaran
316ac61875
Update to go state types 3ca0d2890090
2020-09-10 17:41:55 -04:00
Jakub Sztandera
d5d264d13b
Add fork point
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
c71e1adc93
Integrate multiple drand networks with pubsub
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
564d0ae974
Upgrade drand
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Jakub Sztandera
9a48ec194e
Add DrandSchedule to testground params
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00