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 ...
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.
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/...
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.
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)
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::...
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 ...
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
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
parachain-system × 13parachain × 8
runtime-upgrade × 4
block-production × 2
westend × 2
pallet × 1
cumulus × 1
xcm × 1
sudo × 1
upgrade × 1
election × 1
relay-chain × 1
async-backing × 1