0

I an running polkadot bridges from the repository git clone https://github.com/paritytech/parity-bridges-common.git and while running the briges i am getting the following errorenter image description here

2
  • Have you launched Rialto and Millau nodes beforehand? The relayer process must connect to running nodes. Nov 15, 2022 at 8:43
  • i have launced both nodes (Rialto and Millau) error is [Rialto_to_Millau_MessageLane_00000000] 2022-11-15 05:30:23 +00 ERROR bridge Error retrieving state from Millau node: BridgePalletIsNotInitialized. Retrying in 0.746009028
    – Amrith
    Nov 15, 2022 at 8:46

1 Answer 1

2

as I see, you are trying to run relay-messages-rialto-to-millau.sh but before that you need to run also relay-rialto-to-millau.sh and relay-millau-to-rialto.sh,

relay-messages-rialto-to-millau.sh:

  • just relays messages

relay-rialto-to-millau.sh / relay-millau-to-rialto.sh:

  • initialize bridge pallets (see the error BridgePalletIsNotInitialized)
  • relays finality (headers)
11
  • sequence I have executed:1.running both nodes(rialto and millau), 2.running relays. 3.running the relay-messages but still i am getting the same error
    – Amrith
    Nov 15, 2022 at 10:17
  • could you, please, add here logs from "2.running relays." ? Nov 15, 2022 at 11:10
  • yes, really, there was problem with scripts (wrong account used), please, update your git branch origin/master, there is a fix for that Nov 17, 2022 at 0:34
  • ~/parity-bridges-common$ ./scripts/send-message-from-rialto-millau.sh transfer error: Found argument '--target-signer' which wasn't expected, or isn't valid in this context USAGE: substrate-relay send-message <bridge> --source-host <source-host> --source-port <source-port>
    – Amrith
    Nov 18, 2022 at 10:41
  • sorry for unsatisfactory answer and troubles, please update repo, right now just this should work ./scripts/send-message-from-rialto-millau.sh remark (send some Trap message), inside that script, arguments remark/transfer is wrong, there should be raw <some-encoded-call>, like raw 020419ac is Trap(..) call, but honestly, I see 020419ac in code base, but I dont know how was this generated, trying to find out also, we dont really use this script, and they surely needs to be updated: github.com/paritytech/parity-bridges-common/issues/1406 Nov 21, 2022 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.