Skip to content

Commit ce4c03d

Browse files
masihrjan90
authored andcommitted
feat: implement F3 CLI to list power table and proportional power at instance (#12698)
* Implement F3 CLI to list power table and proportional power at instance Implement utility CLIs to: * get the power table used by F3 at a given instance ID. * get total proportional power of a list of actors at a given instance ID. These utilities allow us to debug the exact participation power for an instance without having to manually calculate it or estimate it from the latest power. * Update changelog * Address lint issue * Regenerate CLI docs * Take instance ID via flag and actor IDs as args * Reduce indentation by defiling top level vars * Work around bug in docsgencli by using one-liner usage
1 parent c882d9f commit ce4c03d

File tree

3 files changed

+566
-250
lines changed

3 files changed

+566
-250
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This Lotus release candidate introduces the new `ChainIndexer` subsystem, enhanc
1616
- Implement `EthGetTransactionByBlockNumberAndIndex` (`eth_getTransactionByBlockNumberAndIndex`) and `EthGetTransactionByBlockHashAndIndex` (`eth_getTransactionByBlockHashAndIndex`) methods. ([filecoin-project/lotus#12618](https://github.com/filecoin-project/lotus/pull/12618))
1717
- `lotus-shed indexes inspect-indexes` now performs a comprehensive comparison of the event index data for each message by comparing the AMT root CID from the message receipt with the root of a reconstructed AMT. Previously `inspect-indexes` simply compared event counts. Comparing AMT roots instead confirms all the event data is byte-perfect. ([filecoin-project/lotus#12570](https://github.com/filecoin-project/lotus/pull/12570))
1818
- Reduce size of embedded genesis CAR files by removing WASM actor blocks and compressing with zstd. This reduces the `lotus` binary size by approximately 10 MiB. ([filecoin-project/lotus#12439](https://github.com/filecoin-project/lotus/pull/12439))
19+
- Implement F3 utility CLIs to list the power table for a given instance and sum the proportional power of a set of actors that participate in a given instance. ([filecoin-project/lotus#12698](https://github.com/filecoin-project/lotus/pull/12698))
1920

2021
## 🐛 Bug Fix Highlights
2122
- Add logic to check if the miner's owner address is delegated (f4 address). If it is delegated, the `lotus-shed sectors termination-estimate` command now sends the termination state call using the worker ID. This fix resolves the issue where termination-estimate did not function correctly for miners with delegated owner addresses. ([filecoin-project/lotus#12569](https://github.com/filecoin-project/lotus/pull/12569))

0 commit comments

Comments
 (0)