Questions tagged [runtime-upgrade]
The runtime-upgrade tag has no usage guidance.
112
questions
2
votes
0
answers
14
views
when will `‘Balances::transfer' will be removed` take into effect on main-net?
In this link Balances::transfer will be removed it say 'transfer' is deprecated.
I have experienced this change on test-net and fixed my Dapp after got failure report.
But when does it take into ...
2
votes
0
answers
52
views
Costs and Payment for Runtime Upgrades in Parachains
I'm currently working with Substrate parachains and have question that I'm hoping to get clarity on:
Payment for Runtime Upgrade Execution: In a parachain context, when a runtime upgrade (an extrinsic)...
1
vote
0
answers
36
views
`Corrupted state at` after upgrade from 0.9.39 to 0.9.43
I have the following error in the logs:
2023-11-20 11:47:02 Corrupted state at `[206, 197, 7, 13, 96, 157, 211, 73, 127, 114, 189, 224, 127, 201, 107, 160, 224, 205, 208, 98, 230, 234, 242, 66, 149, ...
1
vote
0
answers
42
views
Recovering a Bricked (no block production) Parachain on Rococo, Kusama, & Polkadot
Introduction
In the Substrate ecosystem, a bricked parachain – one that has halted block production – presents a unique set of challenges. This situation can occur in various environments, notably on ...
1
vote
1
answer
84
views
Hooks doesn't expose `try_on_runtime_upgrade`?
If defining migrations in structs that impl OnRuntimeUpgrade. And these structs are then put into a Tuple migration, pre and post-upgrade hooks are noops on the tuple.
See this issue.
The idea being ...
1
vote
1
answer
18
views
Can the spec_name of the RuntimeVersion be changed on a runtime upgrade?
Can the spec_name of the RuntimeVersion be changed on a runtime upgrade? And if so, can the check performed by the try-runtime cli that the spec_names have to match be disabled?
3
votes
1
answer
55
views
What needs to be done to change the consensus from POA to POS through a runtime upgrade?
Currently my chain(solo-chain) is on production which is working on POA. Now I have integrated the staking pallet after then when i am going to upgrade that code in the old prod chain by runtime ...
1
vote
1
answer
45
views
No way to do a runtime-upgrade after we upgraded our mainnet chain to version 0.9.31 version
Recently in Ternoa mainnet we performed a RU(runtime upgrade) to upgrade our versions to polkato-v0.9.31. In system pallet substrate have introduced new extrinsic set_code in this version which ...
0
votes
0
answers
11
views
not all trait items implemented, missing: `score_update_worst_case`
I am unable to build try-runtime features.
My command: cargo build --features try-runtime --release
My issue:
impl<T: Config> SortedListProvider<T::AccountId> for UseValidatorsMap<T&...
0
votes
0
answers
45
views
move_pallet: What is correct way to verify old pallet storage is deleted
In trying to use a migration implementation for substrate which can be used to rename BagsList to VoterList, using move_pallet a post migration check is failing when testing the migration with try-...
2
votes
2
answers
53
views
Steps for migration from polkadot-v0.9.30 to polkadot-v0.9.43/v1.0.0
At Ternoa we are trying to do a long jump from polkadot-v0.9.30 to polkadot-v0.9.43 or the latest. We would like to get some suggestions here if someone or some projects already experienced this much ...
0
votes
1
answer
37
views
Try-runtime error, runtime is NOT compiled with try-runtime feature
I am struggling with following error, any thoughts what can cause it? I am compiling WASM blob with following command:
cargo build --release --features try-runtime --package frontier-template-runtime ...
1
vote
0
answers
41
views
Parachain stuck at authoring runtime upgrade block
Our testnet parachain is stuck exactly at the block in which the runtime upgrade is authored. It was authorized and enacted via parachainSystem as recommended. The upgrade neither includes any ...
0
votes
1
answer
54
views
Is runtime upgrade needed when changing offchain worker?
Suppose I have a blockchain that has been running for some time, and at a certain point, I need to update the offchain worker code. What is the recommended approach for updating the blockchain: ...
1
vote
1
answer
40
views
polkadot explorer getting stuck while using utility and sudo pallet from extrinsics
I am trying to do a runtime upgrade of my blockchain that is layer 0 chain running on version polkado-v0.9.36 . I also have (ethereum virtual machine integrated to it ).
When I do runtime upgrade ...
1
vote
1
answer
45
views
Getting schedular overweight error while doing runtime upgrade
I am trying to do a runtime upgrade through democracy referenda and the steps I performed are as follows:
create pre-image.
submit pre-image through democracy .
endorse
voting .
After this I am ...
2
votes
1
answer
35
views
How to hardcode few AccountIds to a storage in migration?
During a storage migration I want to add few SS58 Address in one storage. How to hardcode it in migration script?
1
vote
1
answer
18
views
How to get rid unused storage?
Let's say we get rid of a pallet after a runtime upgrade. My question is do the storage keys related to the now removed pallet just get pruned away automatically or is there some kind of manual ...
5
votes
1
answer
104
views
After doing runtime upgrade getting contract not found in substrate contracts ui
I am doing runtime upgrade of substrate blockchain from 0.9.36 --> 0.9.37 --->0.9.43 . And i have some contracts deployed on the running blockchain which is running on 36 version . After doing ...
0
votes
0
answers
57
views
Storage Migration failed even after we tested with fork-off
We have a live testnet chain where we planned a runtime upgrade (RU). Before performing RU in the live chain we performed fork-off of that chain to get all the states same as it is and started a local ...
0
votes
0
answers
74
views
Getting error after doing runtime upgrade to substrate v1.0.0
I am trying to do runtime upgrade of substrate blockchain which is running on 0.9.36 version to substrate version v1.0.0 . While doing runtime upgrade chain stops working and getting this error in ...
2
votes
0
answers
99
views
Troubleshooting Persistent Error Following Parachain Runtime Upgrade Despite Code Modification
We recently attempted a runtime upgrade on our parachain testnet (wss://moonbeam-integration-parachain.polkadex.trade) and made some modifications to the validate_unsigned code, specifically ...
1
vote
1
answer
31
views
Error WrongProposalWeight when proposing a runtime upgrade using the council
When trying to propose a system.setCode motion the extrinsic fails with WrongProposalWeight. We are experiencing this issue only with the above extrinsic and on polkadot-0.9.42 version.
On an earlier ...
0
votes
2
answers
56
views
No governance within substrate-parachain-template
Does anyone know why the template provided in this repo doesn't include any governance? I noticed that the Cumulus repo does include a sudo.
I run a parachain using this template and was unable to ...
4
votes
1
answer
61
views
How to perform Parachain Runtime Upgrade via Democracy using Chopsticks
I am trying to perform a runtime upgrade using Acala's Chopsticks. I used this command:
npx @acala-network/chopsticks@latest xcm -r ./configs/polkadot.yml -p ./configs/my_config.yml
I followed the ...
4
votes
1
answer
116
views
Unable to sync after runtime upgrade
After performing an upgrade on a remote node that includes a new pallet in my runtime, I attempted to sync a local node with the remote one, but I encountered the following error:
Bootnode with peer ...
3
votes
1
answer
94
views
Upgrade parachain without sudo
I have a parachain with no sudo pallet. However, in order to perform an upgrade, the first step authorize requires Root origin.
As a workaround, I have tried to run ForceScheduleCodeUpgrade from the ...
5
votes
1
answer
129
views
How to make a parachain runtime upgrade
I´m trying to make a parachain runtime upgrade without a migration, as a way to understand the process before trying with a migration.
I´m using version 0.9.40 of polkadot for the relay chain and the ...
3
votes
1
answer
70
views
error[E0405]: cannot find trait `Signature` in crate `signature`
I am currently upgrading our chain to polkadot-v0.9.38 but when I run the build I get the following error:
error[E0405]: cannot find trait `Signature` in crate `signature`
--> /home/albrayanov/....
2
votes
0
answers
68
views
Which pallets cannot be added through a runtime upgrade?
We started our chain using substrate-node-template which is using PoA consensus with Aura for block production. Now we are trying to move to PoS with Babe. We found out that it is not possible to ...
2
votes
1
answer
25
views
During runtime upgrade, I estimate gas fee by PaymentQueryInfo api, the return result value is so high, more than the normal value
why cause this?
result, err := client.SignedExtrinsic(
"0x186c09cac19834761b573b238b6542257d05b1fc5a57688311345d8cdf7e488d",
"5FjKC4iC797yUWmFJuirEWqvVA2ABy3d41ugxZfHyrHs2AYx&...
3
votes
3
answers
457
views
1010: Invalid Transaction: Transaction has a bad signature
I am getting this error on the block explorer "Extrinsics" tab the moment I add a debug related code into a Hello pallet into the node-template repo.
E.g:
#[pallet::call_index(0)]
#[pallet::...
3
votes
0
answers
46
views
How do i upgrade the council through a runtime Upgrade?
I have written code for a storage migration but unfortunately the council members are not displaying after the runtime upgrade. Below is the code I wrote for the storage migration
const COUNCIL_PREFIX:...
2
votes
1
answer
52
views
revert a chain migration
We executed a chain migration that was not intended ( it was already executed one time and was executed again 2 times ) https://github.com/paritytech/substrate/blob/polkadot-v0.9.18/frame/system/src/...
0
votes
1
answer
47
views
Is it possible to add council support and initial members during a runtime upgrade?
I have a running node without a council configured in genesis. I would like to add a council and initial council members using a runtime upgrade. Is this possible and how would i do it
2
votes
1
answer
53
views
What's the best way to perfrom a parachain runtime upgrade through democracy?
Today, I attempted to submit a preimage, start an external proposal and initiate referenda.
Check the preimage here: https://crab.subscan.io/referenda/4?tab=proposal_preimage.
The outcome of my ...
2
votes
0
answers
32
views
Steps to handle renaming runtime api + upgrade
I'm considering a large refactor in our substrate codebase which would involve moving large chunks of code around. This includes a runtime api. In it's destined place, the runtime api's name(both its ...
0
votes
3
answers
64
views
Version Upgrade issue
I am running substrate on polkadot-v0.9.25, and I want to upgrade it to polkadot-v0.9.36, so I took the normal approach that has been suggested in many questions, that is to do a runtime upgrade and ...
0
votes
2
answers
28
views
E1-runtimemigration label on substrate repo is missing?
There was the E1-runtimemigration label for PRs in substrate repo that needed migrations. It seems to be missing now: https://github.com/paritytech/substrate/pulls?q=is%3Apr%20label%3AE1-...
0
votes
0
answers
69
views
Runtime Upgrade: Scheduled runtime upgrade transaction halts network
We are trying to upgrade our runtime on Rococo with a scheduled parachainSystem::authorizeUpgrade transaction, that you can find in the image below.
When testing the runtime upgrade on zombienet, ...
1
vote
1
answer
520
views
`let...else` statements are unstable [closed]
trying to update to the latest polkadot-v0.9.37
when i cargo check i get:
Checking sc-executor-wasmi v0.10.0-dev (https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#946507ba)
...
0
votes
1
answer
49
views
After upgrading the chain version and elections not happening
I have a chain running on polkadot-v0.9.18 and I want to upgrade it to polkadot-v0.9.20, so I did a runtime upgrade using the latters wasm codeand changed the client. After this the elections are not ...
0
votes
1
answer
16
views
How to force runtime upgrades only after an enactment period of three months with the sudo pallet?
I would like to use the sudo pallet instead of the democracy pallet.
Now I would like to force the sudo user to wait three months until a runtime upgrade can be applied. So, that there is no way to ...
2
votes
1
answer
39
views
Is migration required after adding an extra storage map to a pallet
From my understanding how the runtime store its state adding an extra storage variable like
pub Verified (get fn is_verified): map hasher(blake2_128_concat) us64 => ();
to a pallet that already ...
1
vote
1
answer
69
views
How forkless runtime upgrades takes place in substrate?
Does code compiled to Wasm enables to forkless runtime upgrades in polkadot substrate development? Someone please explain me how forkless runtime upgrades features enables?
1
vote
1
answer
41
views
Runtime upgrades: parachainSystem.enactAuthorizedUpgrade via referendum fails with `parachainSystem.ValidationDataNotAvailable`
We can successfully upgrade both locally running and Rococo parachains with Sudo, but when I try upgrading a local parachain using the referenda system, it fails. I am submitting these extrinsics as ...
1
vote
1
answer
55
views
Upgrade from substrate node tag v3.0.0 to last version
We are maintaining a blockchain based on substrate node tag v3.0.0. Now we upgraded to substrate branch polkadot-v0.9.27. (We need to upgrade to support native smart contracts with Ink! with the last ...
4
votes
1
answer
109
views
How to cancel or delay a scheduled parachain runtime upgrade?
I would like to know if there is a way to cancel or delay a runtime upgrade already scheduled by a parachain with the relay chain soon about to send the upgrade_go_ahead_signal.
It is fairly easy to ...
1
vote
1
answer
58
views
How to make a main net parachain upgrade through democracy?
I have made successful runtime upgrades through the sudo pallet prior to this, but after trying to do it through referendum using the democracy pallet there was an error.
What are the step to make a ...
2
votes
1
answer
69
views
Are pallet migrations triggered automatically by default or we need to pass each pallets migration explicitly in Executive Type?
Recently did a runtime upgrade on our node which broke all existing ink contracts. Later included the pallet contracts migration in Executive Type which fixed the issue. My impression was all runtime ...