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

cmds: Only access existing pool states in pprint_pool_wallet_state #11911

Conversation

xdustinface
Copy link
Contributor

Fixes issues like #11897 where the command fails if the state for the wallet with launcher_id gets printed but the launcher_id isn't available in the farmer's pool state list (i.e. its not in the config).

Note: This moves the Payout instructions output above Relative lock height to avoid needing another pool_state_dict is not None :)

@xdustinface xdustinface changed the base branch from main to release/1.4.0 June 14, 2022 22:57
@xdustinface xdustinface force-pushed the pr-fix-print-pool-wallet-state branch from 0f54ae5 to da574e4 Compare June 14, 2022 22:58
@emlowe
Copy link
Contributor

emlowe commented Jun 14, 2022

This is interesting - the wallet knows about this launcher_id - but it's not in config.yaml?

@wallentx
Copy link
Contributor

This is interesting - the wallet knows about this launcher_id - but it's not in config.yaml?

I had it pulled out of my config.yaml to remove confusion since its an unusable plotnft for me.
(which resulted in confusion for Chia)

@wallentx
Copy link
Contributor

Checked this out and verified this fixed it.

Copy link
Contributor

@altendky altendky left a comment

Choose a reason for hiding this comment

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

reads well, thanks

@emlowe
Copy link
Contributor

emlowe commented Jun 14, 2022

I'm somewhat conflicted whether this is a must-have for 1.4. AFAIK it's not a regression in 1.4 and it doesn't seem that critical.

Copy link
Contributor

@emlowe emlowe left a comment

Choose a reason for hiding this comment

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

Update: this is a regression in 1.4 - so on that basis, I approve

@wallentx wallentx merged commit 3cd8284 into Chia-Network:release/1.4.0 Jun 15, 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.

4 participants