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

[Bug] Datalayer add_mirror RPC does not return the mirror coin_id. #16856

Open
MichaelTaylor3D opened this issue Nov 17, 2023 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@MichaelTaylor3D
Copy link
Contributor

MichaelTaylor3D commented Nov 17, 2023

What happened?

When using the /add_mirror RPC, it does not return the coin_id of the mirror coin. This makes it difficult to know what coin_id to use to delete the mirror later programmatically. There are ways to figure it out by iterating through the output of /get_mirrors RPC but its pretty inefficient. I filed this as a bug, because this seems like expected return data is missing.

image

Version

2.1.1

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

@MichaelTaylor3D MichaelTaylor3D added the bug Something isn't working label Nov 17, 2023
@wjblanke
Copy link
Contributor

wjblanke commented Dec 6, 2023

Lets add it!

@wjblanke wjblanke self-assigned this May 1, 2024
@wjblanke
Copy link
Contributor

wjblanke commented Aug 1, 2024

https://github.com/Chia-Network/chia-blockchain/blob/main/chia/rpc/data_layer_rpc_client.py#L149

Snooping around to see where the coin comes from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants