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

Connor/state cli #1219

Merged
merged 36 commits into from
Oct 13, 2021
Merged

Connor/state cli #1219

merged 36 commits into from
Oct 13, 2021

Conversation

connormullett
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Introduces new command state to forest with 4 different subcommands to query chain state.
    • Power
    • GetActor
    • ListMiners
    • Lookup

Note that state power is not able to query solely network power due to forest specific implementation of get_power within the state manager. The current implementation of the command only allows for querying a miner's claimed power compared to the network's power.

state get-actor currently does not display the actor's name by code. This is being implemented currently and will be tracked in a new ticket to push the rest of the state commands to expedite the review process.

Reference issue to close (if applicable)

Closes #541

Other information and links

actor_name_by_code v4 implementation PR #1218

Copy link
Member

@ec2 ec2 left a comment

Choose a reason for hiding this comment

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

Tested on mainnet. Looks good to me

@connormullett connormullett merged commit 8543b3f into main Oct 13, 2021
@connormullett connormullett deleted the connor/state-cli branch October 13, 2021 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

State CLI Commands
2 participants