Commit Graph

11546 Commits

Author SHA1 Message Date
Aayush Rajasekaran
e6779b0b6f Add a command to get the fees of a deal 2021-04-29 13:29:17 -04:00
whyrusleeping
a590fb6a12 mod tidy for the magik 2021-04-29 10:28:33 -07:00
whyrusleeping
ac77c51d5e address nit 2021-04-29 10:24:16 -07:00
Łukasz Magiera
12867a567b Merge branch 'master' of github.com:MitchellSoo/lotus into feat/cli-doc-gen 2021-04-29 19:23:33 +02:00
Łukasz Magiera
9b87566dbf
Merge pull request #6141 from filecoin-project/split-TestBatchDealInput-from-TestAPIDealFlow
flaky tests improvement: separate TestBatchDealInput from TestAPIDealFlow
2021-04-29 19:01:35 +02:00
Łukasz Magiera
84d7565cee
Merge pull request #5887 from filecoin-project/feat/gh-action-testground-prs
Testground checks on push
2021-04-29 19:00:21 +02:00
Łukasz Magiera
dd2b44351c
Drop graphsync testplan from CI 2021-04-29 18:50:13 +02:00
Łukasz Magiera
c548bb3c4c
Merge pull request #6132 from filecoin-project/asr/state-miner-cli
Add a CLI tool for miner proving deadline
2021-04-29 18:37:16 +02:00
Steven Allen
f983fa8cd5
Merge pull request #6134 from filecoin-project/asr/emptytsk
Use EmptyTSK where appropriate
2021-04-29 09:35:43 -07:00
Łukasz Magiera
002eb4e812
Merge pull request #6142 from filecoin-project/fix/tipset-cli
fix: use a consistent tipset in commands
2021-04-29 18:35:17 +02:00
Cory Schwartz
05dbe5cbbe checks on push 2021-04-29 18:32:21 +02:00
Łukasz Magiera
492b026031
Merge pull request #6124 from filecoin-project/testplans-go-mod
go mod tidy for lotus-soup testplans
2021-04-29 18:31:32 +02:00
Łukasz Magiera
f036abdff7
Merge pull request #6126 from filecoin-project/reduce-miners-pay-channel-tests
fix testground payment channel tests: use 1 miner
2021-04-29 18:30:41 +02:00
Ł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