Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: command to print actor CID's and version #1026

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

frrist
Copy link
Member

@frrist frrist commented Jul 28, 2022

$ lily chain actor-codes

+---------+------------+--------+----------------------------------------------------------------+
| VERSION | NAME       | FAMILY | CODE                                                           |
+---------+------------+--------+----------------------------------------------------------------+
|       0 | fil/1/init | init   | bafkqactgnfwc6mjpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       2 | fil/2/init | init   | bafkqactgnfwc6mrpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       3 | fil/3/init | init   | bafkqactgnfwc6mzpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       4 | fil/4/init | init   | bafkqactgnfwc6nbpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       5 | fil/5/init | init   | bafkqactgnfwc6njpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       6 | fil/6/init | init   | bafkqactgnfwc6nrpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       7 | fil/7/init | init   | bafkqactgnfwc6nzpnfxgs5a                                       |
+---------+------------+--------+----------------------------------------------------------------+
|       8 | fil/8/init | init   | bafk2bzaceaipvjhoxmtofsnv3aj6gj5ida4afdrxa4ewku2hfipdlxpaektlw |
+---------+------------+--------+----------------------------------------------------------------+
+---------+--------------------+--------------+----------------------------------------------------------------+
| VERSION | NAME               | FAMILY       | CODE                                                           |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       0 | fil/1/storagepower | storagepower | bafkqaetgnfwc6mjpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       2 | fil/2/storagepower | storagepower | bafkqaetgnfwc6mrpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       3 | fil/3/storagepower | storagepower | bafkqaetgnfwc6mzpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       4 | fil/4/storagepower | storagepower | bafkqaetgnfwc6nbpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       5 | fil/5/storagepower | storagepower | bafkqaetgnfwc6njpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       6 | fil/6/storagepower | storagepower | bafkqaetgnfwc6nrpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       7 | fil/7/storagepower | storagepower | bafkqaetgnfwc6nzpon2g64tbm5sxa33xmvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       8 | fil/8/storagepower | storagepower | bafk2bzacebjvqva6ppvysn5xpmiqcdfelwbbcxmghx5ww6hr37cgred6dyrpm |
+---------+--------------------+--------------+----------------------------------------------------------------+
+---------+--------------------+--------------+----------------------------------------------------------------+
| VERSION | NAME               | FAMILY       | CODE                                                           |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       0 | fil/1/storageminer | storageminer | bafkqaetgnfwc6mjpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       2 | fil/2/storageminer | storageminer | bafkqaetgnfwc6mrpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       3 | fil/3/storageminer | storageminer | bafkqaetgnfwc6mzpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       4 | fil/4/storageminer | storageminer | bafkqaetgnfwc6nbpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       5 | fil/5/storageminer | storageminer | bafkqaetgnfwc6njpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       6 | fil/6/storageminer | storageminer | bafkqaetgnfwc6nrpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       7 | fil/7/storageminer | storageminer | bafkqaetgnfwc6nzpon2g64tbm5sw22lomvza                          |
+---------+--------------------+--------------+----------------------------------------------------------------+
|       8 | fil/8/storageminer | storageminer | bafk2bzacecgnynvd3tene3bvqoknuspit56canij5bpra6wl4mrq2mxxwriyu |
+---------+--------------------+--------------+----------------------------------------------------------------+
+---------+---------------------+---------------+----------------------------------------------------------------+
| VERSION | NAME                | FAMILY        | CODE                                                           |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       0 | fil/1/storagemarket | storagemarket | bafkqae3gnfwc6mjpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       2 | fil/2/storagemarket | storagemarket | bafkqae3gnfwc6mrpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       3 | fil/3/storagemarket | storagemarket | bafkqae3gnfwc6mzpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       4 | fil/4/storagemarket | storagemarket | bafkqae3gnfwc6nbpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       5 | fil/5/storagemarket | storagemarket | bafkqae3gnfwc6njpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       6 | fil/6/storagemarket | storagemarket | bafkqae3gnfwc6nrpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       7 | fil/7/storagemarket | storagemarket | bafkqae3gnfwc6nzpon2g64tbm5sw2ylsnnsxi                         |
+---------+---------------------+---------------+----------------------------------------------------------------+
|       8 | fil/8/storagemarket | storagemarket | bafk2bzacediohrxkp2fbsl4yj4jlupjdkgsiwqb4zuezvinhdo2j5hrxco62q |
+---------+---------------------+---------------+----------------------------------------------------------------+
+---------+------------------------+------------------+----------------------------------------------------------------+
| VERSION | NAME                   | FAMILY           | CODE                                                           |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       0 | fil/1/verifiedregistry | verifiedregistry | bafkqaftgnfwc6mjpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       2 | fil/2/verifiedregistry | verifiedregistry | bafkqaftgnfwc6mrpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       3 | fil/3/verifiedregistry | verifiedregistry | bafkqaftgnfwc6mzpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       4 | fil/4/verifiedregistry | verifiedregistry | bafkqaftgnfwc6nbpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       5 | fil/5/verifiedregistry | verifiedregistry | bafkqaftgnfwc6njpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       6 | fil/6/verifiedregistry | verifiedregistry | bafkqaftgnfwc6nrpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       7 | fil/7/verifiedregistry | verifiedregistry | bafkqaftgnfwc6nzpozsxe2lgnfswi4tfm5uxg5dspe                    |
+---------+------------------------+------------------+----------------------------------------------------------------+
|       8 | fil/8/verifiedregistry | verifiedregistry | bafk2bzaceb3zbkjz3auizmoln2unmxep7dyfcmsre64vnqfhdyh7rkqfoxlw4 |
+---------+------------------------+------------------+----------------------------------------------------------------+
+---------+----------------+----------+----------------------------------------------------------------+
| VERSION | NAME           | FAMILY   | CODE                                                           |
+---------+----------------+----------+----------------------------------------------------------------+
|       0 | fil/1/multisig | multisig | bafkqadtgnfwc6mjpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       2 | fil/2/multisig | multisig | bafkqadtgnfwc6mrpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       3 | fil/3/multisig | multisig | bafkqadtgnfwc6mzpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       4 | fil/4/multisig | multisig | bafkqadtgnfwc6nbpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       5 | fil/5/multisig | multisig | bafkqadtgnfwc6njpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       6 | fil/6/multisig | multisig | bafkqadtgnfwc6nrpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       7 | fil/7/multisig | multisig | bafkqadtgnfwc6nzpnv2wy5djonuwo                                 |
+---------+----------------+----------+----------------------------------------------------------------+
|       8 | fil/8/multisig | multisig | bafk2bzacebhldfjuy4o5v7amrhp5p2gzv2qo5275jut4adnbyp56fxkwy5fag |
+---------+----------------+----------+----------------------------------------------------------------+
+---------+--------------+--------+----------------------------------------------------------------+
| VERSION | NAME         | FAMILY | CODE                                                           |
+---------+--------------+--------+----------------------------------------------------------------+
|       0 | fil/1/reward | reward | bafkqaddgnfwc6mjpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       2 | fil/2/reward | reward | bafkqaddgnfwc6mrpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       3 | fil/3/reward | reward | bafkqaddgnfwc6mzpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       4 | fil/4/reward | reward | bafkqaddgnfwc6nbpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       5 | fil/5/reward | reward | bafkqaddgnfwc6njpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       6 | fil/6/reward | reward | bafkqaddgnfwc6nrpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       7 | fil/7/reward | reward | bafkqaddgnfwc6nzpojsxoylsmq                                    |
+---------+--------------+--------+----------------------------------------------------------------+
|       8 | fil/8/reward | reward | bafk2bzacecwzzxlgjiavnc3545cqqil3cmq4hgpvfp2crguxy2pl5ybusfsbe |
+---------+--------------+--------+----------------------------------------------------------------+

@frrist frrist self-assigned this Jul 28, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1026 (e0864bd) into master (ead40c9) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1026   +/-   ##
======================================
  Coverage    35.6%   35.6%           
======================================
  Files          44      44           
  Lines        2879    2879           
======================================
  Hits         1025    1025           
  Misses       1750    1750           
  Partials      104     104           

@frrist frrist marked this pull request as ready for review August 3, 2022 18:27
@frrist frrist requested review from kasteph and placer14 August 3, 2022 18:27
Copy link
Contributor

@placer14 placer14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am surprised the actor version number does not create new encoded values, but I'm not going to verify it (unless you think it's valuable) and will assume these are correct. 🤝

@placer14
Copy link
Contributor

placer14 commented Aug 4, 2022

You might consider removing Family from the table and make it a header on the table to make it a little more compact.

@frrist
Copy link
Member Author

frrist commented Aug 10, 2022

I am surprised the actor version number does not create new encoded values

The CID's for each actor are different at each version e.g.
| 0 | fil/1/reward | reward | bafkqaddgnfwc6m j pojsxoylsmq |
| 2 | fil/2/reward | reward | bafkqaddgnfwc6m r pojsxoylsmq |

@frrist frrist merged commit 2a5df7c into master Aug 10, 2022
@frrist frrist deleted the frrist/print-actor-cids branch August 10, 2022 19:41
@frrist frrist added this to the Lily v0.12.0 milestone Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants