Questions tagged [versioning]
The versioning tag has no usage guidance.
23
questions
0
votes
1
answer
10
views
Should the runtime version be included in the block header by default?
If I retrieve a block and want to decode it, I have to know what version of the runtime's metadata to use. With only having the block header (or maybe the full block) is there any way I can decode it ...
0
votes
1
answer
9
views
Relaychain/Parachain Compatability: What Guarantees does Polkadot give?
What guarantees does Polkadot give to parachains regarding compatability. Will polkadot-v1.y.z always be compatible with a parachain built on polkadot-v1.0.0? If not, by what system should parachain ...
0
votes
2
answers
45
views
Is there a standalone node-template that points to the polkadot-sdk repo?
Are there are node templates that one can use readily without tinkering with the versions and tags? Something that works out of the box?
And it should point to the polkadot-sdk repo and not the ...
0
votes
1
answer
70
views
Compile Error in vandersnatch_vrfs crate in SDK version 1.3.0
I'm trying to update my node from SDK version 1.2.0 to 1.3.0. To do so I make this change to each package in my Cargo.toml:
- sp-core = { tag = "polkadot-v1.2.0", git = "https://github....
2
votes
1
answer
71
views
What is the new process to follow Substrate releases for the polkadot-sdk monrepo
In the Substrate repo, it was common to update to polkadot release-branches to version the Substrate crates. Will this still be the case for chains based on the monorepo version of Substrate? Will ...
2
votes
0
answers
40
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
66
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 ...
5
votes
2
answers
55
views
Why should transaction_version change with removals?
transaction_version should increment if an extrinsic's parameters are modified. Same if an existing index changes for either an extrinsic or module.
That makes sense. If a transaction that used to be ...
0
votes
1
answer
92
views
Polkadot version 36 - app_crypto! error (cannot find macro `format` in this scope)
When compiling version 36 substrate or cumulus I can see this error and not sure how to get rid of
error: cannot find macro `format` in this scope
--> /Users/hotovo/.cargo/git/checkouts/substrate-...
0
votes
1
answer
50
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 ...
1
vote
1
answer
40
views
How do we check Subxt's compatibility (or any Substrate product's compatibility) with Polkadot versions?
I am asking this on behalf of some of the builders in the community. Will subxt get an update for the v0.9.36 (Polkadot equivalent) branch? On a broader level - How do we check Subxt's compatibility ...
0
votes
2
answers
47
views
failed to select a version for `parity-util-mem` when upgrade polkadot version to 0.9.31
I am developing polkadot version from 0.9.25 to 0.9.31.
When I run cargo build --release, it shows
Any body has experience about this?
0
votes
1
answer
144
views
Substrate AUTHORIZATION pallet runtime issue
I am having a versioning issue with the AUTHORIZATION pallet.
I pushed all my changes in the authorization_issue branch: https://github.com/herou/ferrum-x-network-elio/tree/authorization_issue
I am ...
2
votes
1
answer
70
views
What's the difference between `transaction_version` and `EXTRINSIC_FORMAT_VERSION`?
Substrate has the concept of a transaction_version and an EXTRINSIC_FORMAT_VERSION. What are these used for and when are they changed?
0
votes
1
answer
36
views
Negative consequences of bumping `transaction_version` by more than one in a single release?
We bumped txver on a testnet when we didn't need to and then downgraded it, bumping txver again, so testnet is now 2 txvers ahead of prod.
We want to apply the runtime upgrade we have ready to both ...
1
vote
2
answers
203
views
On-chain storage version on new chain seems to be incorrect
I modified the template pallet from the substrate node template 681a9d8e3e8becf99aabf1cc76e1c08016db2e1a to contain a storage version:
const STORAGE_VERSION: StorageVersion = StorageVersion::new(123);
...
0
votes
1
answer
677
views
error: failed to select a version with cargo check [duplicate]
OS : centos stream 9
CPU : x86_64
Rust : 1.61
substrate : 2022-05 3.0
polkdadot : 0.9.20
substrate-front-end : 2022-02
node : 16.14
when i study
substrate Tutorials - Add the Nicks Pallet to your ...
1
vote
2
answers
80
views
Node Upgrade to Latest Version
What is the best way to perform an upgrade to the latest version of substrate for a node with some custom modifications?
Is there a way to test that the upgrade hasn't modified the blockchain state in ...
4
votes
1
answer
136
views
Is there a way to automatically detect/monitor when new releases happen in Sidecar?
I am running an application that relies heavily on Sidecar to get all the information from the node already decoded (as mentioned here). So, it is quite critical for me to know as fast as possible ...
3
votes
1
answer
63
views
Which toolchain should I use to build Substrate
My current toolchains and targets look like this
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-2022-01-01-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-...
3
votes
1
answer
106
views
Cannot find TryInto (compilation error) after it was pruned from prelude
This Substrate PR removed TryInto from the sp_std's prelude: https://github.com/paritytech/substrate/pull/11136
While attempting to update to v0.9.19, which includes this PR, I am encountering this ...
0
votes
1
answer
80
views
How to Determine Transaction Interface
In Substrate code, there is logic to determine the way in which extrinsics should be submitted to the runtime (ref: https://github.com/paritytech/substrate/blob/v3.0.0/client/transaction-pool/src/api....
0
votes
2
answers
69
views
How to match the versions or Susbstrate upstream in my project's dependancies? [closed]
I'm new to substrate and follow this tutorial: https://docs.substrate.io/tutorials/v3/kitties/pt1/.
I'm facing problem in this line : we'll need to import serde. Add this to your pallet's Cargo.toml ...