I am testing XCM between parachain 2000 and parachain 2001 while referencing this link, How to open HRMP channels between parachains?. But I couldn't open a new HRMP channel, I faced the "Barrier" error.

It seems I should use Sudo or Governance as you said, but I could find neither of them in the "Developer" tag on the Polkadot.JS App.

So I added Sudo option as referencing the link - https://github.com/paritytech/polkadot/commit/791c8b8f9e6fe00b631f2cace0d6d65151487eb4. But after clicking the "Extrinsics->Sudo->sudo(call)" button, the Polkadot-js App crashed.

enter image description here

What am I missing now?

  • As others have noted, you will have to either include the sudo pallet or governance pallets. Additionally, make sure you are using the parachain's sovereign account.
    – Bruno
    Nov 2, 2022 at 11:03
  • Thanks, @Bruno, I am fixing the issues now as all you mentioned.
    – TinyDev
    Nov 2, 2022 at 11:14
  • I updated my question.
    – TinyDev
    Nov 2, 2022 at 18:08

3 Answers 3


Since this tutorial is for example purposes, both parachains should have the sudo pallet configured. In a production chain this would be substituted with governance.

If you followed the Zombienet tutorial to launch the parachains, make sure your chain has the sudo pallet and create the binaries again.


The sudo tab will show up only when you have the sudo key in your wallet.

The governance tab will show up only when the runtime have pallet-democracy.


First, check if your runtime has a sudo pallet(like this line), if not, refer to this answer https://substrate.stackexchange.com/a/3203/1959 to introduce it.

And then, as xavier said, make sure the sudo key(like this line) in your wallet.

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.