Commit Graph

11783 Commits

Author SHA1 Message Date
Łukasz Magiera
8929f767ff
Merge pull request #6143 from filecoin-project/fix/list-actors-parent-state
fix: use the parent state when listing actors
2021-04-29 18:18:18 +02:00
Steven Allen
2857f6c0ed fix: use a consistent tipset in commands
It's very easy to write an incorrect command that operates over
different heads by using the "empty" tipset. This change makes the
`LoadTipSet` command helper get the latest head from the lotus daemon if
its unset.

The cost is an extra call to get the head. That should be trivial in
most cases.
2021-04-29 08:50:08 -07:00
Anton Evangelatov
c7d74ef16e separate TestBatchDealInput from TestAPIDealFlow 2021-04-29 17:39:00 +02:00
Steven Allen
4867425685 fix: use the parent state when listing actors
To be consistent with other commands.
2021-04-28 23:35:27 -07:00
Łukasz Magiera
a456f394ac
Merge pull request #6007 from filecoin-project/asr/state-list-messages
Speed up StateListMessages in some cases
2021-04-29 07:47:26 +02:00
Łukasz Magiera
4b04cac219
Merge pull request #4938 from filecoin-project/asr/total-power
Return total power when GetPowerRaw doesn't find miner claim
2021-04-29 07:45:43 +02:00
Steven Allen
83ec2b53ee
Merge pull request #6133 from filecoin-project/fix/head-change-panic-splitstore
fix(splitstore): fix a panic on revert-only head changes
2021-04-28 22:25:28 -07:00
Steven Allen
f353a794cb
fix: spelling
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2021-04-28 22:08:37 -07:00
Aayush Rajasekaran
d794b49df3 Use EmptyTSK where appropriate 2021-04-29 01:00:03 -04:00
Steven Allen
63db9e1633 fix(splitstore): fix a panic on revert-only head changes
Calling, e.g., `lotus chain sethead` on an ancestor tipset won't apply
any new blocks, it'll just revert a bunch. This will lead to HeadChange
calls with no new blocks to apply.

fixes #6125
2021-04-28 20:35:30 -07:00
Steven Allen
b23837a7d6
Merge pull request #5847 from filecoin-project/steb/audit-dups
shed: command to list duplicate messages in tipsets (steb)
2021-04-28 18:31:01 -07:00
Steven Allen
bcfad6b2bb fix(lotus-shed): sanity check start height for dup check 2021-04-28 17:51:25 -07:00
Steven Allen
701682c98a feat(lotus-shed): make it possible to filter by to/from when checking dups 2021-04-28 17:43:07 -07:00
Aayush Rajasekaran
895e968ff9 Add a CLI tool for miner proving deadline 2021-04-28 20:27:16 -04:00
lotus
77eefcd6d8 feat(lotus-shed): improve duplicate-messages audit command
- Allow a start/end epoch.
- Print one line per duplicate set.
- Allow filtering duplicate messages by method number.
- Make the number of threads configurable.
2021-04-28 17:03:37 -07:00
Łukasz Magiera
c8fcab5d22 shed: Command to list duplicate messages in tipsets 2021-04-28 16:23:35 -07:00
Steven Allen
8f309b214b chain: move checkpoint logic into chainstore
That way, checkpoints can be enforced by the chainstore, removing a
potential race where an in-progress sync of a fork could bypass a sync
checkpoint.
2021-04-28 15:06:29 -07:00
Steven Allen
0ad51f8a14 test(sync): fix tipset check and re-enable checkpoint tests
We need to wait until the node _has_ the tipset, not until it doesn't.

This probably only worked before due to race conditions.

fixes #4716 (probably)
2021-04-28 15:06:29 -07:00
Steven Allen
69da6a2a29 feat: allow checkpointing to forks
Previously, `lotus sync checkpoint` would only checkpoint on the current
chain. Now, it can switch to a new fork.
2021-04-28 13:54:26 -07:00
Anton Evangelatov
5769a45380 use 1 miner for payment channel tests 2021-04-28 16:58:03 +02:00
Anton Evangelatov
bc8d6a1d87 go mod tidy for lotus-soup testplans 2021-04-28 14:36:20 +02:00
Łukasz Magiera
4688da5178
Merge pull request #6122 from filecoin-project/fix-lotus-soup-3-1-deals-end-to-end
upgrade `lotus-soup` testplans and reduce deals concurrency to a single miner
2021-04-28 14:24:47 +02:00
Anton Evangelatov
0304bebf20 remove deals concurrency 2021-04-28 13:38:18 +02:00
whyrusleeping
48feb52cbf add a test for adding padded pieces 2021-04-27 16:28:25 -07:00
whyrusleeping
6daaf6ac2e attempt to do better padding on pieces being written into sectors 2021-04-27 11:39:06 -07:00
Anton Evangelatov
a9e4a0d22b upgrade docker images 2021-04-27 16:28:57 +02:00
Łukasz Magiera
95e0c3df1d 1.9.0-rc1 2021-04-27 10:30:51 +02:00
Łukasz Magiera
a24a73bb52 Merge tag 'v1.8.0' into release/v1.9.0 2021-04-27 10:30:33 +02:00
Łukasz Magiera
7e25a811c3
Merge pull request #6118 from filecoin-project/releases
Merge releases (1.8.0) into master
2021-04-27 10:15:17 +02:00
Aayush Rajasekaran
b79861c1ad Merge branch 'master' into releases 2021-04-27 04:14:36 -04:00
Łukasz Magiera
5c56017dbb
Merge pull request #6116 from filecoin-project/release/v1.8.0
Lotus v1.8.0
2021-04-27 09:01:34 +02:00
Łukasz Magiera
dc75ad315f
Merge pull request #6117 from filecoin-project/feat/nv12-1.11
Actors v4
2021-04-27 08:47:07 +02:00
Łukasz Magiera
1a980bf971 bump version 2021-04-27 08:39:05 +02:00
Łukasz Magiera
c4137a438d Merge commit 'f1ded63d608e1b191d79c780b8065f8cff367c98' into feat/nv12-1.11 2021-04-27 08:22:55 +02:00
Aayush Rajasekaran
5019fa4cdd Lotus version 1.8.0 2021-04-27 02:02:49 -04:00
Aayush Rajasekaran
f1ded63d60 v4 specs-actors integration, nv12 migration 2021-04-27 02:02:44 -04:00
Łukasz Magiera
86d9372b30
Merge pull request #6114 from filecoin-project/docs/api-makegen
api: Document API change process
2021-04-26 21:05:35 +02:00
Łukasz Magiera
bfa332ca7d api: Document API change process 2021-04-26 20:36:20 +02:00
Łukasz Magiera
c88eeaaf02
Merge pull request #6112 from filecoin-project/ux/inspect-deal-estimates
add "expected duration" label to inspect-deals output
2021-04-26 20:08:33 +02:00
Yusef Napora
66e8517769 add "expected duration" label to inspect-deals output 2021-04-26 13:02:29 -04:00
Łukasz Magiera
abc88828f6
Merge pull request #6110 from filecoin-project/misc/update-codeowners
Update CODEOWNERS
2021-04-26 18:58:21 +02:00
Łukasz Magiera
17e5d61b96
Update CODEOWNERS 2021-04-26 18:54:23 +02:00
Łukasz Magiera
bd753938f5
Update CODEOWNERS 2021-04-26 18:45:55 +02:00
Łukasz Magiera
86d4f5f738
Merge pull request #6075 from filecoin-project/feat/gateway-walletbalance
implement WalletBalance on gateway
2021-04-23 16:00:54 +02:00
Łukasz Magiera
21de8b2bd3
Merge pull request #6092 from filecoin-project/asr/shed-util-sanity
Shed util to sanity-check total balance is FilBase
2021-04-23 16:00:13 +02:00
Łukasz Magiera
ad3c588582
Merge pull request #6090 from filecoin-project/feat/rtvl-prov-unseal-logging
Add more debug logging for unsealing
2021-04-23 15:59:14 +02:00
Łukasz Magiera
e5d8ae7a9a
Merge pull request #6096 from Reskorey/master
fix full node painc
2021-04-23 12:08:30 +02:00
Reskorey
58bee65bcb go fmt 2021-04-23 16:10:51 +08:00
Reskorey
7738886936
fix full node painc
fix: full node painc  when calling  RPC  Filecoin.ClientRetrieve without the order.Tatol pecified.
2021-04-23 15:43:41 +08:00
Aayush Rajasekaran
448b5cb2a3 Shed util to sanity-check total balance is FilBase 2021-04-22 19:45:35 -04:00