AvaProtocol / xcm-demo

Javascript usage of OAK’s XCM automation with parachains including Moonbeam, Astar and Mangata.
https://docs.oak.tech/docs/xcm/integration-overview/
4 stars 5 forks source link

Moonbeam demo cannot work with required Turing version #113

Open morkeltry opened 5 months ago

morkeltry commented 5 months ago

Moonbeam demo pre-requisite is given as

Turing Network v2.0.0

however, sendExtrinsicPromise in common.js contains no scheduleAs parameter.

Result:

b). Send extrinsic from moonbase-local to turing-local to schedule task. Listen to TaskScheduled event on turing-local chain ...
Listen XCMP task events
Error: The scheduleAs parameter should not be empty
    at Object.scheduleXcmpTimeTaskWithPayThroughRemoteDerivativeAccountFlow (..../node_modules/@oak-network/src/index.ts:244:15)
    at scheduleTask (..../src/moonbeam/common.js:200:11)
    at main (..../src/moonbeam/moonbase-local.js:45:3)

scheduleAs parameter is apparently no longer required in v.2.1.4 but I could not verify whether the demo works with that version due to

Related issue Apparently wrong version downloads from releases v.2.14

chrisli30 commented 5 months ago

Let’s make sure the instructions of Moonbeam demo in README.md is up-to-date too.

chrisli30 commented 5 months ago

Hi @morkeltry,

We have re-tested the xcm-demo and made some changes in #114. Please take a look at the new instructions, give it another try, and let us know how it goes!

The xcm-demo code was updated to use OAK-blockchain v2.1.4, but instructions in README.md weren’t. This PR is to update the README.md to make sure release versions match the code.

Thank you for your feedback 👍