Commit Graph

1114 Commits

Author SHA1 Message Date
Raúl Kripalani
e23c3b3e77 remove commented code. 2021-08-12 23:13:54 -04:00
Raúl Kripalani
230f81661c make lotus-miner net commands hit markets subsystem. 2021-08-12 23:13:50 -04:00
Raúl Kripalani
8c326d7bad fix compilation error. 2021-08-12 23:06:06 -04:00
Raúl Kripalani
04b358f340 use fallback api infos last; init service with markets-path. 2021-08-12 23:05:51 -04:00
Raúl Kripalani
23cd561f2e bugfix. 2021-08-12 23:05:34 -04:00
Raúl Kripalani
3733fa9cc2 add RepoType#String; adjust repo parsing logic. 2021-08-12 23:05:13 -04:00
Raúl Kripalani
a94ab050bf fix docs, add flag. 2021-08-12 23:04:45 -04:00
Raúl Kripalani
1527ed46bc fix tests. 2021-08-12 23:04:08 -04:00
Raúl Kripalani
43d48f37b6 polish. 2021-08-12 23:04:03 -04:00
Raúl Kripalani
2c9edb1d1a refactor miner info command. 2021-08-12 23:03:59 -04:00
Raúl Kripalani
a1aed960a9 target markets API for markets commands. 2021-08-12 23:03:50 -04:00
Raúl Kripalani
22461f30e9 support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags. 2021-08-12 23:02:52 -04:00
Anton Evangelatov
783fa6b7c0 add explicit error msg if repo dir does not exist 2021-08-01 00:26:52 -04:00
Raúl Kripalani
bb040abb2c fix compilation error. 2021-07-29 12:23:04 -04:00
Raúl Kripalani
00c3432e5a use fallback api infos last; init service with markets-path. 2021-07-29 12:22:53 -04:00
Raúl Kripalani
4b6fa79ea2 bugfix. 2021-07-29 12:22:49 -04:00
Raúl Kripalani
b3c951c924 add RepoType#String; adjust repo parsing logic. 2021-07-29 12:22:27 -04:00
Raúl Kripalani
299b106f38 fix docs, add flag. 2021-07-29 12:22:19 -04:00
Raúl Kripalani
1b5a2dd79a fix tests. 2021-07-29 12:22:11 -04:00
Raúl Kripalani
107777fdac polish. 2021-07-29 12:22:03 -04:00
Raúl Kripalani
d37ae957e0 refactor miner info command. 2021-07-29 12:21:29 -04:00
Raúl Kripalani
92056423c3 target markets API for markets commands. 2021-07-29 12:20:26 -04:00
Raúl Kripalani
8442bac5b2 support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags. 2021-07-29 12:20:05 -04:00
Raúl Kripalani
b04fb75a92 rename flag to very verbose. 2021-07-27 20:49:30 +01:00
Raúl Kripalani
48cddd3644 add a super verbose -vv flag to lotus and lotus-miner. 2021-07-27 14:25:28 +01:00
Łukasz Magiera
660829703a Merge remote-tracking branch 'origin/master' into feat/split-net-api 2021-07-22 15:38:06 +02:00
Steven Allen
f9c759fcb2 fix: always check if StateSearchMessage returns nil
It returns nil on "not found".

Fixes the cases not covered in:
https://github.com/filecoin-project/lotus/pull/6787
2021-07-20 11:28:27 -07:00
Łukasz Magiera
49e26cce7d api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
Peter Rabbitson
6efd2e7335 Handle the --color flag via proper global state
Use `color.NoColor` as a global progressively modified as one descends
down command flags. Allows non-surprising operation when --color is
accepted at multiple layers, and even makes this behave predictably:

    lotus-miner --color actor control list --color=false
2021-07-13 12:22:29 +02:00
Peter Rabbitson
4dd59b566c Respect GOLOG_LOG_FMT=color 2021-07-08 10:44:37 +02:00
Peter Rabbitson
140a2e0200 Stabilize default text and make gen docsgen-cli 2021-07-08 10:44:13 +02:00
Peter Rabbitson
c7bb326c78 Enable color by default only if os.Stdout is a TTY 2021-07-07 18:12:24 +02:00
Jim Pick
17c0b9be44
Spelling fix
Change 'actorr' to 'actor'
2021-07-05 07:44:06 -07:00
Aayush Rajasekaran
069fd0a244 Add helptext to lotus chain export 2021-07-03 12:41:43 -04:00
Peter Rabbitson
30efcf21f0 Fix tiny error in check-client-datacap 2021-07-02 18:15:08 +02:00
Aayush Rajasekaran
cb4d7cb9e7 Make query-ask CLI more graceful 2021-06-24 12:57:54 -04:00
IPFSUnion
7c07dc9ed1 fix an error in msigLockCancel 2021-06-24 14:07:15 +08:00
Aayush Rajasekaran
4af59e0188
Apply suggestions from code review
Co-authored-by: Jennifer <42981373+jennijuju@users.noreply.github.com>
2021-06-22 19:23:24 -04:00
Aayush Rajasekaran
07fad6a201 Fix helptext 2021-06-22 16:02:06 -04:00
Aayush Rajasekaran
9c7db6d305 Fix the build 2021-06-16 17:53:53 -04:00
Aayush Rajasekaran
35f76f58df
Merge pull request #6309 from filecoin-project/feat/better_mining_projection_and_accuracy
Adjust various CLI display ratios to arbitrary precision
2021-06-16 17:48:23 -04:00
Rjan
932f3ce1d1
Update chain list with correct help instructions
Fixes #6293, changes the help text from (Default: 0) to (Default: current head)
2021-06-14 13:13:25 +02:00
Raúl Kripalani
81b3c6e2ab Merge branch 'master' into raulk/itests 2021-06-09 17:34:46 +01:00
Aayush Rajasekaran
a44e91df4b UX: lotus state power CLI should fail if called with a not-miner 2021-06-08 18:46:21 -04:00
Raúl Kripalani
a274fcc533 Merge branch 'master' into raulk/itests 2021-06-07 23:44:22 +01:00
Raúl Kripalani
db1a61852d Merge branch 'master' into raulk/itests 2021-06-07 23:17:44 +01:00
Peter Rabbitson
29d7561dd1 Fix logging of stringified CIDs double-encoded in hex 2021-06-08 00:05:48 +02:00
aarshkshah1992
ad4b182bfe remove read task type and run gen and docsgen 2021-06-07 15:03:06 +05:30
aarshkshah1992
35a466f4c4 add new line 2021-06-04 21:41:09 +02:00
aarshkshah1992
ed4748e8ac fix bug 2021-06-04 21:41:09 +02:00