Skip to content

Commit 1924e10

Browse files
alvicsamggwpez
andauthored
Add CI for monorepo (paritytech#1145)
* Add CI for monorepo * fix frame tests * Format features Signed-off-by: Oliver Tale-Yazdi <[email protected]> * add note for skipping tests and disable test-linux-stable-all * Fix tests and compile issues (paritytech#1152) * Fix feature dependant import Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Bump test timeout Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Remove feature gate Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add resolver 2 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Remove old lockfile Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Format features Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix check-dependency-rules Signed-off-by: Oliver Tale-Yazdi <[email protected]> * rm test-runtime Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Actually fix script Signed-off-by: Oliver Tale-Yazdi <[email protected]> * enable cargo-check-each-crate-macos * Run check-each-crate on 6 machines (paritytech#1163) --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
1 parent 74da00c commit 1924e10

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

substrate/frame/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
3333
... |
3434
|
3535
note: required by a bound in `frame_system::Event`
36-
--> $WORKSPACE/frame/system/src/lib.rs
36+
--> $WORKSPACE/substrate/frame/system/src/lib.rs
3737
|
3838
| pub enum Event<T: Config> {
3939
| ^^^^^^ required by this bound in `Event`
@@ -97,7 +97,7 @@ note: required because it appears within the type `RuntimeEvent`
9797
| ||_- in this macro invocation
9898
... |
9999
note: required by a bound in `EncodeLike`
100-
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
100+
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
101101
|
102102
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
103103
| ^^^^^ required by this bound in `EncodeLike`
@@ -129,7 +129,7 @@ note: required because it appears within the type `RuntimeEvent`
129129
| ||_- in this macro invocation
130130
... |
131131
note: required by a bound in `Decode`
132-
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
132+
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
133133
|
134134
| pub trait Decode: Sized {
135135
| ^^^^^ required by this bound in `Decode`
@@ -293,7 +293,7 @@ note: required because it appears within the type `RuntimeCall`
293293
| ||_- in this macro invocation
294294
... |
295295
note: required by a bound in `EncodeLike`
296-
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
296+
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
297297
|
298298
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
299299
| ^^^^^ required by this bound in `EncodeLike`
@@ -326,7 +326,7 @@ note: required because it appears within the type `RuntimeCall`
326326
| ||_- in this macro invocation
327327
... |
328328
note: required by a bound in `Decode`
329-
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
329+
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
330330
|
331331
| pub trait Decode: Sized {
332332
| ^^^^^ required by this bound in `Decode`
@@ -339,7 +339,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
339339
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
340340
|
341341
note: required by a bound in `frame_system::GenesisConfig`
342-
--> $WORKSPACE/frame/system/src/lib.rs
342+
--> $WORKSPACE/substrate/frame/system/src/lib.rs
343343
|
344344
| pub struct GenesisConfig<T: Config> {
345345
| ^^^^^^ required by this bound in `GenesisConfig`

substrate/frame/support/test/tests/pallet_ui/genesis_default_not_satisfied.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ error[E0277]: the trait bound `pallet::GenesisConfig: std::default::Default` is
55
| ^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `pallet::GenesisConfig`
66
|
77
note: required by a bound in `BuildGenesisConfig`
8-
--> $WORKSPACE/frame/support/src/traits/hooks.rs
8+
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
99
|
1010
| pub trait BuildGenesisConfig: Default + sp_runtime::traits::MaybeSerializeDeserialize {
1111
| ^^^^^^^ required by this bound in `BuildGenesisConfig`
1212
help: consider annotating `pallet::GenesisConfig` with `#[derive(Default)]`
13-
|
13+
|
1414
19 + #[derive(Default)]
1515
20 | pub struct GenesisConfig;
1616
|

substrate/frame/support/test/tests/pallet_ui/hooks_invalid_item.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ error[E0107]: missing generics for trait `Hooks`
55
| ^^^^^ expected 1 generic argument
66
|
77
note: trait defined here, with 1 generic parameter: `BlockNumber`
8-
--> $WORKSPACE/frame/support/src/traits/hooks.rs
8+
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
99
|
1010
| pub trait Hooks<BlockNumber> {
1111
| ^^^^^ -----------
1212
help: add missing generic argument
13-
|
14-
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
15-
| +++++++++++++
13+
|
14+
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
15+
| +++++++++++++

0 commit comments

Comments
 (0)