Code Deserialization Error when publishing #546
Unanswered
ethan-douglass
asked this question in
Questions
Replies: 2 comments 2 replies
-
Hi @ethan-douglass, could you provide the CLI version and the concrete command you were using? Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
-
i am also facing the same issue and i am using the cli aptos 7.3.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
ThatGoatHerder
Describe your question in detail.
Hello!
I am really struggling to learn the move CLI(I've done solidity for multiple years and wanted to give it a shot)
When I try using one of the example projects and follow the instructions, I am hit with a code deserialization error when I got to publish.
Both aptos move test, and aptos move compile pass successfully.
What am I doing wrong?
What error, if any, are you getting?
Error": "Simulation failed with status: CODE_DESERIALIZATION_ERROR\nExecution failed with message: Backtrace: Backtrace [\n { fn: "move_binary_format::errors::PartialVMError::finish" },\n { fn: "aptos_vm::aptos_vm::AptosVM::deserialize_module_bundle" },\n { fn: "aptos_vm::aptos_vm::AptosVM::resolve_pending_code_publish" },\n { fn: "aptos_vm::aptos_vm::AptosVM::execute_script_or_entry_function" },\n { fn: "aptos_vm::aptos_vm::AptosSimulationVM::create_vm_and_simulate_signed_transaction" },\n { fn: "aptos_api::transactions::TransactionsApi::simulate" },\n { fn: "aptos_api::transactions::TransactionsApi::simulate_transaction::{{closure}}::{{closure}}" },\n { fn: "<tracing::instrument::Instrumented as core::future::future::Future>::poll" },\n { fn: "tokio::runtime::task::core::Core<T,S>::poll" },\n { fn: "tokio::runtime::task::harness::Harness<T,S>::poll" },\n { fn: "tokio::runtime::blocking::pool::Inner::run" },\n { fn: "std::sys_common::backtrace::__rust_begin_short_backtrace" },\n { fn: "core::ops::function::FnOnce::call_once{{vtable.shim}}" },\n { fn: "std::sys::pal::unix::thread::Thread::new::thread_start" },\n { fn: "start_thread" },\n { fn: "clone" },\n]"
What have you tried or looked at? Or how can we reproduce the error?
Ive tried uninstalling and reinstalling
aptos move clean
trying different example projects from different places
I've tried on a different computer as well
nothing has worked
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
Macos Sequoia 15.2
Aptos CLI 4.6(newest release that just came out)
Beta Was this translation helpful? Give feedback.
All reactions