Skip to main content
5 votes
Accepted

What node types run in the relay chain vs. parachain?

I think your mental model is a little off here, at least the way it is written. There is a binary specific for the Polkadot relay chain node, and software specific for each parachain node. Each of ...
Shawn Tabrizi's user avatar
  • 16.3k
2 votes
Accepted

How can I personalize the enum errors from a Pallet that isn't in my workspace?

You can not change the Error from an external pallet. I don't really know why you would like to do this. In your own pallet you can create your own Error type an return this.
bkchr's user avatar
  • 11.8k
1 vote
Accepted

How to execute a runtime upgrade that takes more weight than one block can hold

Looks like your migration is "too long". You may need to try a different migration strategy. More on this can be found here: https://docs.substrate.io/reference/how-to-guides/parachains/...
Bruno's user avatar
  • 8,455
1 vote
Accepted

parachainSystem.ValidationFunctionStored

That means the upgrade has been scheduled. You can see when the upgrade will take place by checking the FutureCodeUpgrade(id) storage item on the Relay Chain.
joepetrowski's user avatar
  • 2,975
1 vote

parachainSystem.OverlappingUpgrades

Xavier is right, and I'll show you how to kill it. Get the storage key from chain state Then kill it by system.killStorage (sudo or governance)
Guantong's user avatar
  • 1,868
1 vote

parachainSystem.OverlappingUpgrades

It looks like you are trying to do this multiple times. Sometimes, I make mistakes on my testnet (upload wrong WASM). Then I use sudo to kill the storage. Kill the ParachainSystem::...
aurexav's user avatar
  • 11.2k
1 vote

Parsing Data in horizontal_messages of set_validation_data

The horizontal messages are a BTreeMap<Paraid, Vec<InboundHrmpMessage>>. You can find the InboundHrmpMessage declaration here. The data field you then need to parse as versioned xcm ...
bkchr's user avatar
  • 11.8k
1 vote

parachain-system can not get ParachainInherentData After runtime upgrade

Couple things to make sure: bump the spec_version use authorize_upgrade and enact_authorized_upgrade
Bruno's user avatar
  • 8,455

Only top scored, non community-wiki answers of a minimum length are eligible