Questions tagged [runtime-upgrade]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Parachain stops producing blocks after runtime upgrade

I'm testing a parachain runtime upgrade locally, and after calling the enactAuthorizeUpgrade, the parachain stops producing blocks, and in the logs I start seeing the following error: Collation wasn't ...
Sebastian's user avatar
  • 153
1 vote
1 answer
35 views

How does parachain upgrade works?

Let we have a running parachain on kusama and want to do a runtime upgrade. New runtime is bigger then the old one by 100 kb. New runtime will be stored on the relay chain after runtime upgrade ...
Данила Алексеев's user avatar
2 votes
0 answers
15 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 ...
breeze wang's user avatar
3 votes
0 answers
57 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)...
ALeSD's user avatar
  • 469
1 vote
1 answer
46 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, ...
Yurtur's user avatar
  • 23
1 vote
0 answers
43 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 ...
Cedric Decoster's user avatar
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 ...
Kyle's user avatar
  • 299
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?
Sebastian's user avatar
  • 153
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 ...
Pankaj's user avatar
  • 1,896
1 vote
1 answer
46 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 ...
Immanuel John's user avatar
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&...
CocDap's user avatar
  • 616
0 votes
0 answers
47 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-...
Mokhtar Naamani's user avatar
2 votes
2 answers
54 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 ...
Immanuel John's user avatar
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 ...
Klapeyron's user avatar
  • 111
1 vote
0 answers
43 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 ...
William Freudenberger's user avatar
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: ...
subuser's user avatar
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 ...
Karanvir Singh's user avatar
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 ...
Shubham Gupta's user avatar
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?
Immanuel John's user avatar
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 ...
Purple_Turtle's user avatar
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 ...
Karanvir Singh's user avatar
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 ...
Immanuel John's user avatar
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 ...
Karanvir Singh's user avatar
2 votes
0 answers
100 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 ...
ZKT's user avatar
  • 103
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 ...
Dylan Verstraete's user avatar
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 ...
magecnion's user avatar
  • 148
4 votes
1 answer
65 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 ...
Jitterbug's user avatar
  • 219
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 ...
magecnion's user avatar
  • 148
3 votes
1 answer
96 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 ...
magecnion's user avatar
  • 148
5 votes
1 answer
136 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 ...
Xavier's user avatar
  • 395
3 votes
1 answer
71 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/....
chexware's user avatar
  • 325
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 ...
Sachin's user avatar
  • 51
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&...
Abel's user avatar
  • 61
3 votes
3 answers
468 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::...
abhi3700's user avatar
  • 131
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:...
master chief's user avatar
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/...
Dubs's user avatar
  • 294
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
master chief's user avatar
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 ...
AurevoirXavier's user avatar
2 votes
0 answers
33 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 ...
Justin Frevert's user avatar
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 ...
Shubham Gupta's user avatar
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-...
Mexke's user avatar
  • 55
0 votes
0 answers
71 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, ...
Alexander's user avatar
1 vote
1 answer
522 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) ...
Decentration's user avatar
  • 1,366
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 ...
Amit Kumar Yadav's user avatar
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 ...
Chralt's user avatar
  • 523
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 ...
mr_bovo's user avatar
  • 171
1 vote
1 answer
70 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?
Ganesh11's user avatar
  • 1,208
1 vote
1 answer
44 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 ...
Shannon Wells's user avatar
1 vote
1 answer
56 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 ...
Fernando Ruscitti's user avatar
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 ...
Shoeb Siddiqui's user avatar