-
Notifications
You must be signed in to change notification settings - Fork 12
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
chore: upgrade to polkadot 0.9.4 #107
Conversation
The CI apparently fails to download the patches,
|
Let me run tests on my machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wierd on my machine
$ cargo t
warning: use of deprecated type alias `pallet_staking::Module`: use `Pallet` instead
--> /Users/clearloop/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/55be325/runtime/parachains/src/reward_points.rs:57:4
|
57 | <pallet_staking::Module<C>>::reward_by_ids(rewards);
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: 1 warning emitted
Compiling polkadot-runtime-common v0.9.4 (/Users/clearloop/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/55be325/runtime/common)
error[E0046]: not all trait items implemented, missing: `transfer_all`
--> /Users/clearloop/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/55be325/runtime/polkadot/src/weights/pallet_balances.rs:45:1
|
45 | impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `transfer_all` in implementation
|
= help: implement the missing item: `fn transfer_all() -> u64 { todo!() }`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0046`.
error: could not compile `polkadot-runtime`
$ cargo t --all-features
error: failed to run custom build command for `parachain-runtime v2.0.0 (/Users/clearloop/code/PINT/runtime)`
Caused by:
process didn't exit successfully: `/Users/clearloop/code/PINT/target/debug/build/parachain-runtime-e0e3cd16d0f6f688/build-script-build` (exit code: 1)
--- stdout
Information that should be included in a bug report.
Executing build command: "/Users/clearloop/.rustup/toolchains/nightly-2021-03-13-aarch64-apple-darwin/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/Users/clearloop/code/PINT/target/debug/wbuild/parachain-runtime/Cargo.toml" "--color=always" "--release"
Using rustc version: rustc 1.52.0-nightly (b3e19a221 2021-03-12)
--- stderr
Blocking waiting for file lock on package cache
error: failed to select a version for `pallet-committee`.
... required by package `parachain-runtime v2.0.0 (/Users/clearloop/code/PINT/runtime)`
... which is depended on by `parachain-runtime-wasm v1.0.0 (/Users/clearloop/code/PINT/target/debug/wbuild/parachain-runtime)`
versions that meet the requirements `=0.0.1` are: 0.0.1
the package `parachain-runtime` depends on `pallet-committee`, with features: `sp-runtime` but `pallet-committee` does not have these features.
failed to select a version for `pallet-committee` which could resolve this conflict
After checking the features of pallet-committe
, it doesn't require sp-runtime
in the runtime-benchmark
feature
seems like the jsonrpc issues are resolve, patched it against 0.9.4. Perhaps that is related to cache checkouts? |
|
7c2af9f
to
2b3c586
Compare
These should be fixed now, |
Build pass on my machine in 7c2af9f |
FYI running this currently fails due to missing validators, and requires #109 to fix. Currently working on this. |
Changes
The patches are necessary:
chainlink-feed
palletpatchingjsonrpc*-alpha
versions that always get pulled in and break stuffTests
Issues