Commit Graph

193 Commits

Author SHA1 Message Date
Geoff Stuart
514c756570 Alias cli commands 2022-05-03 15:46:46 -04:00
zenground0
61f453fcd3 Print sector key in state sector command 2022-03-08 21:01:57 -07:00
Łukasz Magiera
727bb84592 stmgr: drop MethdosMap 2021-09-02 18:58:34 +02:00
Łukasz Magiera
95b128b7bc chain: Cleanup consensus logic 2021-09-02 18:09:37 +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
Jim Pick
17c0b9be44
Spelling fix
Change 'actorr' to 'actor'
2021-07-05 07:44:06 -07: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
Aayush Rajasekaran
a44e91df4b UX: lotus state power CLI should fail if called with a not-miner 2021-06-08 18:46:21 -04:00
Peter Rabbitson
29d7561dd1 Fix logging of stringified CIDs double-encoded in hex 2021-06-08 00:05:48 +02:00
Alex Wade
2782ea31d3 Improve the cli state call command to accept base64/hex params, and decode result according to method return type 2021-05-31 21:08:45 +02:00
Peter Rabbitson
c2e5a837e6 Adjust various CLI display ratios to arbitrary precision
Originally the deviations from using float64 were insignificant, but at
exabyte scale they start to show up. Cleanup all displays, and clarify
the expectation text, adding an extra 99.9% probability calculator to
`lotus-miner info`
2021-05-25 14:09:01 +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
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
Aayush Rajasekaran
895e968ff9 Add a CLI tool for miner proving deadline 2021-04-28 20:27:16 -04:00
Łukasz Magiera
e76935147f Merge remote-tracking branch 'origin/master' into feat/v1-api 2021-04-13 14:24:22 +02:00
Aayush Rajasekaran
ea46a67550 State CLI: Clarify sector helptext 2021-04-03 22:56:39 -04:00
Aayush Rajasekaran
d9dcc7845f State CLI: fix printMsg to not panic when message isn't found 2021-04-03 22:55:02 -04:00
Łukasz Magiera
1b32d7f52f cli: fix build with v1 api changes 2021-04-03 12:55:29 +02:00
frrist
22329b96b4 chore: export state cli commands 2021-03-23 16:21:04 -07:00
Raúl Kripalani
7f0f7d0b36 Merge branch 'master' into refactor/lib/blockstore 2021-02-28 19:55:23 +00:00
Łukasz Magiera
6b8cbad31a Show replacing message CID is state search-msg cli 2021-02-22 19:11:38 +01:00
Raúl Kripalani
b0cbc932bd consolidate all blockstores in blockstore package. 2021-01-29 20:01:00 +00:00
Łukasz Magiera
389e6eb70b state compute-state ---html --no-timing flag 2021-01-28 19:37:32 +01:00
eben.xie
72c1fa81db when use lotus state call method, in lotus/cli/state.go 1620 line, the paramObj needs struct type not a ptr type,
if use a ptr type, the program will panic in line 1621(paramObj.NumField())
2020-12-31 11:41:51 +08:00
wangchao
9ade05b33b fix: start a new line in print miner-info to avoid ambiguous display 2020-11-27 15:14:58 +08:00
zlhwdsz
721120fc60 fix get sector nil pointer bug 2020-11-24 00:00:14 +08:00
Łukasz Magiera
9d2208e0e8 fix lint 2020-11-19 17:08:14 +01:00
Aayush Rajasekaran
3737a8f3cc CLI to get network version 2020-11-19 02:24:32 -05:00
Jakub Sztandera
fe339d46eb
Print Consensus Faults in miner info
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-11-13 21:21:24 +01:00
Łukasz Magiera
a5c05f87f1
Merge pull request #4105 from filecoin-project/asr/decode-params
Add a StateDecodeParams method
2020-10-31 01:05:50 +01:00
Łukasz Magiera
7cba0b25fd
Merge pull request #4618 from filecoin-project/4360
Add miner available balance and power info to state minor info
2020-10-31 01:03:39 +01:00
Aayush Rajasekaran
5ff42505e8 Add a StateDecodeParams method 2020-10-29 22:04:33 -04:00
Łukasz Magiera
e168f7a917
cli: miner-info review 2020-10-29 10:33:08 +01:00
jennijuju
c80e8cb7d3 Add miner available balance and power info to state minor info 2020-10-28 19:04:03 -04:00
Łukasz Magiera
067de4508b shed: Commad to decode messages 2020-10-23 22:17:46 +02:00
Łukasz Magiera
4a057d84b8
Merge pull request #4422 from filecoin-project/fix/message-list
fix message list api
2020-10-16 20:52:34 +02:00
Aayush Rajasekaran
2fd4a97698 Remove StateTransplant, modify StateReplay 2020-10-15 22:54:29 -04:00
Aayush Rajasekaran
6f86b95f62 Remove StateMsgGasCost 2020-10-15 21:03:02 -04:00
Aayush Rajasekaran
99c07703f8 Add a new StateReplay CLI/API endpoint 2020-10-15 19:47:02 -04:00
Aayush Rajasekaran
7826cc0bab Rename StateReplay to StateTransplant 2020-10-15 19:14:53 -04:00
whyrusleeping
5bee85d57a incremental output for list-messages 2020-10-15 09:38:27 -07:00
whyrusleeping
a931ff94e9 fix message list api 2020-10-15 08:54:36 -07:00
Aayush Rajasekaran
83624a8858 Rename StateVMCirculatingSupply to StateVMCirculatingSupplyInternal 2020-10-12 16:41:27 -04:00
Aayush Rajasekaran
96e1dfd8d7 Add an endpoint for precise circulating supply 2020-10-12 16:38:29 -04:00
Łukasz Magiera
8dd8892b81 Merge remote-tracking branch 'origin/next' into feat/faster-v2-upgrade 2020-10-08 01:54:29 +02:00
Steven Allen
df4b068d0e Merge branch 'master' into next 2020-10-07 11:55:00 -07:00
whyrusleeping
3b12a9f425 Add flag to accept previous output of compute-state as input 2020-10-07 08:12:39 +02:00
whyrusleeping
bd474617ed implement command to get execution traces of any message 2020-10-06 16:06:24 -07:00
Aayush Rajasekaran
be9d23b329 Centralize some params in builtin 2020-09-29 02:25:43 -04:00