mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
Add CI for monorepo (#1145)
* Add CI for monorepo * fix frame tests * Format features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add note for skipping tests and disable test-linux-stable-all * Fix tests and compile issues (#1152) * Fix feature dependant import Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump test timeout Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove feature gate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add resolver 2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove old lockfile Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Format features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix check-dependency-rules Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * rm test-runtime Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually fix script Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * enable cargo-check-each-crate-macos * Run check-each-crate on 6 machines (#1163) --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
1a38d6d6be
commit
e49493442a
+6
-6
@@ -33,7 +33,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
||||
... |
|
||||
|
|
||||
note: required by a bound in `frame_system::Event`
|
||||
--> $WORKSPACE/frame/system/src/lib.rs
|
||||
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
||||
|
|
||||
| pub enum Event<T: Config> {
|
||||
| ^^^^^^ required by this bound in `Event`
|
||||
@@ -97,7 +97,7 @@ note: required because it appears within the type `RuntimeEvent`
|
||||
| ||_- in this macro invocation
|
||||
... |
|
||||
note: required by a bound in `EncodeLike`
|
||||
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
|
||||
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
|
||||
|
|
||||
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
|
||||
| ^^^^^ required by this bound in `EncodeLike`
|
||||
@@ -129,7 +129,7 @@ note: required because it appears within the type `RuntimeEvent`
|
||||
| ||_- in this macro invocation
|
||||
... |
|
||||
note: required by a bound in `Decode`
|
||||
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
|
||||
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
|
||||
|
|
||||
| pub trait Decode: Sized {
|
||||
| ^^^^^ required by this bound in `Decode`
|
||||
@@ -293,7 +293,7 @@ note: required because it appears within the type `RuntimeCall`
|
||||
| ||_- in this macro invocation
|
||||
... |
|
||||
note: required by a bound in `EncodeLike`
|
||||
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
|
||||
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
|
||||
|
|
||||
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
|
||||
| ^^^^^ required by this bound in `EncodeLike`
|
||||
@@ -326,7 +326,7 @@ note: required because it appears within the type `RuntimeCall`
|
||||
| ||_- in this macro invocation
|
||||
... |
|
||||
note: required by a bound in `Decode`
|
||||
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
|
||||
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
|
||||
|
|
||||
| pub trait Decode: Sized {
|
||||
| ^^^^^ required by this bound in `Decode`
|
||||
@@ -339,7 +339,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
||||
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
||||
|
|
||||
note: required by a bound in `frame_system::GenesisConfig`
|
||||
--> $WORKSPACE/frame/system/src/lib.rs
|
||||
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
||||
|
|
||||
| pub struct GenesisConfig<T: Config> {
|
||||
| ^^^^^^ required by this bound in `GenesisConfig`
|
||||
|
||||
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `pallet::GenesisConfig: std::default::Default` is
|
||||
| ^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `pallet::GenesisConfig`
|
||||
|
|
||||
note: required by a bound in `BuildGenesisConfig`
|
||||
--> $WORKSPACE/frame/support/src/traits/hooks.rs
|
||||
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
|
||||
|
|
||||
| pub trait BuildGenesisConfig: Default + sp_runtime::traits::MaybeSerializeDeserialize {
|
||||
| ^^^^^^^ required by this bound in `BuildGenesisConfig`
|
||||
help: consider annotating `pallet::GenesisConfig` with `#[derive(Default)]`
|
||||
|
|
||||
|
|
||||
19 + #[derive(Default)]
|
||||
20 | pub struct GenesisConfig;
|
||||
|
|
||||
|
||||
@@ -5,11 +5,11 @@ error[E0107]: missing generics for trait `Hooks`
|
||||
| ^^^^^ expected 1 generic argument
|
||||
|
|
||||
note: trait defined here, with 1 generic parameter: `BlockNumber`
|
||||
--> $WORKSPACE/frame/support/src/traits/hooks.rs
|
||||
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
|
||||
|
|
||||
| pub trait Hooks<BlockNumber> {
|
||||
| ^^^^^ -----------
|
||||
help: add missing generic argument
|
||||
|
|
||||
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
|
||||
| +++++++++++++
|
||||
|
|
||||
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
|
||||
| +++++++++++++
|
||||
|
||||
Reference in New Issue
Block a user