Conversation
|
The latest rust nightly version on Ubuntu has a bug that will cause build polkadot-v0.9.13 to fail, so the check action will fail. It is recommended to use version nightly-2021-12-15. |
node/src/chain_spec.rs
Outdated
| const TOTAL_TOKENS: u128 = DOLLAR * 1_000_000_000; | ||
| static RELAY_CHAIN: &str = "rococo-local"; | ||
| static NEUMANN_RELAY_CHAIN: &str = "rococo-testnet"; | ||
| const DEFAULT_PARA_ID: u32 = 1000; |
I think we can lock the version "nightly-2021-12-15" for the CI to use. There‘s no need to upgrade Rust library real-time. |
|
I'll take over this PR as well. |
Codecov Report
@@ Coverage Diff @@
## master #50 +/- ##
===========================================
+ Coverage 22.75% 43.84% +21.09%
===========================================
Files 5 7 +2
Lines 290 504 +214
===========================================
+ Hits 66 221 +155
- Misses 224 283 +59
Continue to review full report at Codecov.
|
|
I added the |
| description = "Pallet for scheduling and running tasks in the future." | ||
| version = "0.0.0" | ||
| edition = "2021" | ||
| edition = "2018" |
There was a problem hiding this comment.
We haven't effectively switched to rust 2021. Depending on your toolchain, it might force you to update the rust config to edition2021. We should move to 2021 in a future pr (like soon)
FYI:
The
--parachain-idparameter in the CLI command has been removed.!!!Please configure
parachain_idthrough the exportedchain specfile.I added the
rust-toolchain.tomlfile to specify the version and target of the rust toolchain.If the corresponding component is not installed on the machine, it will be installed automatically at build time.
Refer to:
paritytech/cumulus#739