chopsticks: Chopsticks not compatible with Moonbeam RT260X Runtimes

Moonbeam-based networks upgraded to RT260X and now Chopsticks is not compatible with any of them. For example, the error I get when I launch Chopsticks pointing to Moonbeam is:

npx @acala-network/chopsticks@latest -c moonbeam

Logs:

panicked at 'called `Result::unwrap()` on an `Err` value: VirtualMachine(UnresolvedFunctionImport { function: "ext_panic_handler_abort_on_panic_version_1", module_name: "env" })', src/task.rs:133:6

Stack:

Error
    at imports.wbg.__wbg_new_abda76e883ba8a5f (/home/purestake/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:729:19)
    at wasm://wasm/009743be:wasm-function[728]:0x12aaea
    at wasm://wasm/009743be:wasm-function[886]:0x13420c
    at wasm://wasm/009743be:wasm-function[802]:0x12eaca
    at wasm://wasm/009743be:wasm-function[105]:0xa92ae
    at wasm://wasm/009743be:wasm-function[355]:0x10e846
    at wasm://wasm/009743be:wasm-function[937]:0x134a9e
    at __wbg_adapter_46 (/home/purestake/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:407:10)
    at real (/home/purestake/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:391:22)
    at node:internal/process/task_queues:141:7



node:internal/event_target:777
  process.nextTick(() => { throw err; });
                           ^
Error [RuntimeError]: unreachable
    at wasm://wasm/009743be:wasm-function[728]:0x12ac13
    at wasm://wasm/009743be:wasm-function[886]:0x13420c
    at wasm://wasm/009743be:wasm-function[802]:0x12eaca
    at wasm://wasm/009743be:wasm-function[105]:0xa92ae
    at wasm://wasm/009743be:wasm-function[355]:0x10e846
    at wasm://wasm/009743be:wasm-function[937]:0x134a9e
    at __wbg_adapter_46 (/home/purestake/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:407:10)
    at real (/home/purestake/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:391:22)
    ```
    
    
    This is using Chopsticks version `0.9.3`

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 17 (16 by maintainers)

Commits related to this issue

Most upvoted comments

better open an issue on smoldot

AHHH crap!!! Need more sleep! haha thanks and sorry for the dumb mistake 😄 - Working like a charm. Thanks again

your npx command says latest which is 0.9.3 use npx @acala-network/chopsticks@beta xcm -r polkadot -p moonbeam

@acala-network/chopsticks@latest is version 0.9.3

npx @acala-network/chopsticks@0.9.4-6 xcm -r polkadot -p hydradx -p moonbeam will work

@albertov19 0.9.4-6 should work

new beta will be released in a few minutes

moonbeam’s new runtime has functions unknown to smoldot