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

pcli q dex simulate doesb't work #4794

Open
Halimao opened this issue Aug 7, 2024 · 0 comments
Open

pcli q dex simulate doesb't work #4794

Halimao opened this issue Aug 7, 2024 · 0 comments
Labels
needs-refinement unclear, incomplete, or stub issue that needs work

Comments

@Halimao
Copy link
Contributor

Halimao commented Aug 7, 2024

Describe the bug
pcli q dex simulate doesn't work

To Reproduce
Steps to reproduce the behavior:
Running pcli q dex simulate --into usdc 250penumbra always output

Scanning blocks from last sync height 505748 to latest height 505798
[1s] ██████████████████████████████████████████████████      50/50      56/s ETA: 0s
0passet1984fctenw8m2fpl8a9wzguzp7j34d7vravryuhft808nyt9fdggqxmanqm => 0passet1ytk5nnl7chyqe3e7ntxkjmvngj4ewez8qpkyp8rzm0lrkp3nncxs9uh9ze via:
    Subprice 
halimao@Halimao:~$

And if running pcli q dex simulate 100usdc --into penumbra will output

100passet1ytk5nnl7chyqe3e7ntxkjmvngj4ewez8qpkyp8rzm0lrkp3nncxs9uh9ze => 21043969passet1984fctenw8m2fpl8a9wzguzp7j34d7vravryuhft808nyt9fdggqxmanqm via:
thread 'main' panicked at /home/runner/actions-runner/_work/penumbra/penumbra/crates/bin/pcli/src/command/query/dex.rs:260:18:
assets are known: unknown asset passet1984fctenw8m2fpl8a9wzguzp7j34d7vravryuhft808nyt9fdggqxmanqm
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
Output the result of simulate

@github-actions github-actions bot added the needs-refinement unclear, incomplete, or stub issue that needs work label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-refinement unclear, incomplete, or stub issue that needs work
Projects
None yet
Development

No branches or pull requests

1 participant