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][decompiler] Decompiler fails on bytecode version 7 #14455

Open
vineethk opened this issue Aug 29, 2024 · 2 comments
Open

[Bug][decompiler] Decompiler fails on bytecode version 7 #14455

vineethk opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@vineethk
Copy link
Contributor

🐛 Bug

If you compile a Move package with aptos move compile --move-2, and then run aptos move decompile, then it fails with this error:

"Error": "Unexpected error: decompiler exited with status exit status: 101: thread 'main' panicked at third_party/move/tools/revela/src/main.rs:60:25:\nError: failed to deserialize module blob: PartialVMError with status UNKNOWN_VERSION\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"

However, if you compile with aptos move compile --move-2 --bytecode-version=6, and then run aptos move decompile, then it runs successfully.

Expected Behavior

Decompile works with the latest version of the bytecode.

@vineethk vineethk added the bug Something isn't working label Aug 29, 2024
Copy link
Contributor

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Oct 14, 2024
@crazybits
Copy link

any plan to fix this bug?

@github-actions github-actions bot removed the Stale label Oct 25, 2024
@brmataptos brmataptos added the stale-exempt Prevents issues from being automatically marked and closed as stale label Oct 31, 2024
@brmataptos brmataptos assigned brmataptos and wrwg and unassigned wrwg Nov 14, 2024
@brmataptos brmataptos moved this from 🆕 New to 🏗 In progress in Move Language and Runtime Nov 14, 2024
@brmataptos brmataptos assigned wrwg and unassigned brmataptos Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 🏗 In progress
Development

No branches or pull requests

4 participants