-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run the node after updating to polkadot-v1.8.0 #5744
Comments
This could be related: #5419 (comment) |
Would you share your default |
@michalkucharczyk It is pretty small, nowhere big enough for {
"name": "Development",
"id": "dev",
"chainType": "Development",
"bootNodes": [],
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
"tokenDecimals": 18,
"tokenSymbol": "VTBC"
},
"forkBlocks": null,
"badBlocks": null,
"lightSyncState": null,
"codeSubstitutes": {},
"genesis": {
"runtimeGenesis": {
"code": "0x",
"patch": {
"babe": {
"authorities": [],
"epochConfig": {
"allowed_slots": "PrimaryAndSecondaryPlainSlots",
"c": [
1,
4
]
}
},
"oracle": {
"prices": []
},
"session": {
"keys": [
[
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
{
"authority_discovery": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"babe": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"grandpa": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"im_online": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
}
]
]
},
"staking": {
"canceledPayout": 0,
"forceEra": "NotForcing",
"invulnerables": [
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY"
],
"maxNominatorCount": null,
"maxValidatorCount": null,
"minNominatorBond": 10000000000,
"minValidatorBond": 100000000000000,
"minimumValidatorCount": 1,
"slashRewardFraction": 100000000,
"stakers": [
[
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
100000000000000,
"Validator"
]
],
"validatorCount": 1
},
"sudo": {
"key": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
},
"externalTokens": {
"account": []
},
"system": {},
"vtbCurrency": {
"endowedAccounts": [
[
"5GNJqTPyNqANBkUVMN1LPPrxXnFouWXoe2wNSmmEoLctxiZY",
101000000000000
],
[
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
101000000000000
],
[
"5G9vBwTsEEfF8vg4kNyEzrTWmhykysv1mKDwzEuU4CCkxvVT",
101000000000000
],
[
"5Cvee4SWvyPrscCaKKZQkZDu4MzYvXTh6fjGeSK3qpJrU4CP",
101000000000000
]
],
"rewardsPerEra": 100000000000,
"rewardsPoolBalance": 1000000000000000,
"totalSupply": 40000000000000000,
"vtbcPrice": 5123456
}
}
}
}
} |
I tried this anyways, but it didn't work. |
The failure is here: polkadot-sdk/substrate/frame/support/src/genesis_builder_helper.rs Lines 28 to 35 in ec7817e
Question is what was returned by Is your runtime open-source? |
@michalkucharczyk I found the issue, it was because I was using an older version (version 15) of
I checked the difference between version 15 and 16 and found the Now the question is, with |
Unfortunately, not yet. |
With this I cannot help out of my head - never saw this before. |
Can you completely delete your Another possibility is that maybe |
@SCJangra please try to clean the target directory. Never seen this error before for the core library. |
Done that multiple times, also tried cleaning ~/.cargo/registry.
I think this is probably the case. And could it be because I am using the stable rust toolchain? I thought we didn't need the nightly toolchain anymore. I have this in my rust-toolchain.toml [toolchain]
channel = "stable"
components = [
"cargo",
"clippy",
"rust-analyzer",
"rust-src",
"rust-std",
"rustc-dev",
"rustc",
"rustfmt",
]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal" |
We don't. We're using the Can you try compiling with a different toolchain versions and see if it fails on all of them? I think we're using 1.77.0 on the CI (at least that's what the name of the Docker image says), so can you try with that first? |
Yeah, I tried multiple versions, but unfortunately the same issue. Maybe I am missing |
Should be fine; the |
Got it |
I assume you fixed your issue? If not, please ping again and I re-open the issue. |
My node cannot create genesis configuration after updating to polkadot-v1.8.0. There is some sort of allocation error, but I am not sure where it is coming from.
I would appreciate any insight about why this could be happening.
The text was updated successfully, but these errors were encountered: