AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
131 stars 79 forks source link

when attempting to cross-chain $pink from Acala to Moonbeam, an error occurred. #712

Open StrawberryFlavor opened 5 months ago

StrawberryFlavor commented 5 months ago

Acala xTokens call data: 0x69028400c0997c4f2b3a83eb07ef74a867cf672a25a2a30cc61abc936dcc994df77ba84a01b25b9e3ace52cc0a70fe0de6ecb73d3f9a94a99c8b8d9db59b7d641bb7ac003f9baaf238a92cf48b283b98a8f4693b322b8f2e01f5617bbf38bb391a111ef28a54001915003600050d0000e8764817000000000000000000000003010200511f0300f7728e6df34a686f6e855908a0e85ca8c12dce4f00

image
 INFO (ws): Error handling request: 'ResponseError: {"invalid":{"stale":null}}
    at /root/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks-core/dist/cjs/rpc/substrate/author.js:34:15
    at async processRequest (/root/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks/dist/cjs/server.js:211:30)
    at async WebSocket.<anonymous> (/root/.npm/_npx/81ad9c881cb83600/node_modules/@acala-network/chopsticks/dist/cjs/server.js:273:30)'
    app: "chopsticks"
image
ermalkaleci commented 5 months ago

can you give a bit more context how to test this (setup process)?

StrawberryFlavor commented 5 months ago

can you give a bit more context how to test this (setup process)?

I'm using npx @acala-network/chopsticks@latest xcm --relaychain=/root/configs/polkadot.yml --parachain=/root/configs/acala.yml --parachain=/root/configs/statemint.yml --parachain=/root/configs/moonbeam.yml , I'm attempting to cross-chain $PINK from Acala to Moonbeam (you can see the specific transaction setup in the screenshot I provided above), but it seems Chopsticks is reporting an error message.

Here is the configuration information for my moonbeam.yml file.

endpoint: wss://wss.api.moonbeam.network
mock-signature-host: true
db: ./moonbeam.sqlite
block: 5804429
port: 7001

import-storage:
  System:
    Account:
      -
        -
          - "0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac"
        - data:
            free: "100000000000000000000000"
  TechCommitteeCollective:
    Members: ["0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac"]
  CouncilCollective:
    Members: ["0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac"]
  TreasuryCouncilCollective:
    Members: ["0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac"]
  AuthorFilter:
    EligibleRatio: 100
    EligibleCount: 100
ermalkaleci commented 5 months ago

for you screenshots it seems your transaction is outdated (bad nonce) and the error is coming from tx validation