mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
tests: fix UI test so we can update CI image (#7901)
* tests: fix UI test so we can update CI image * CI: remove diener installation from the script as it's installed in CI image * tests: another fix * tests: fix another fix * tests: NLoEOF * tests: another broken stderr
This commit is contained in:
@@ -3,9 +3,48 @@ error[E0277]: the trait bound `pallet::Call<T>: Decode` is not satisfied
|
||||
|
|
||||
17 | #[pallet::call]
|
||||
| ^^^^ the trait `Decode` is not implemented for `pallet::Call<T>`
|
||||
|
|
||||
::: $WORKSPACE/frame/support/src/dispatch.rs
|
||||
|
|
||||
| type Call: UnfilteredDispatchable + Codec + Clone + PartialEq + Eq;
|
||||
| ----- required by this bound in `frame_support::Callable::Call`
|
||||
|
||||
error[E0277]: the trait bound `pallet::Call<T>: pallet::_::_parity_scale_codec::Encode` is not satisfied
|
||||
--> $DIR/call_argument_invalid_bound_2.rs:17:12
|
||||
|
|
||||
17 | #[pallet::call]
|
||||
| ^^^^ the trait `pallet::_::_parity_scale_codec::Encode` is not implemented for `pallet::Call<T>`
|
||||
|
|
||||
::: $WORKSPACE/frame/support/src/dispatch.rs
|
||||
|
|
||||
| type Call: UnfilteredDispatchable + Codec + Clone + PartialEq + Eq;
|
||||
| ----- required by this bound in `frame_support::Callable::Call`
|
||||
|
||||
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar`
|
||||
--> $DIR/call_argument_invalid_bound_2.rs:20:37
|
||||
|
|
||||
20 | fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
|
||||
| ^
|
||||
|
|
||||
help: consider further restricting this bound
|
||||
|
|
||||
17 | #[pallet::call + std::cmp::PartialEq]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied
|
||||
--> $DIR/call_argument_invalid_bound_2.rs:20:37
|
||||
|
|
||||
20 | fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
|
||||
| ^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar`
|
||||
|
|
||||
= note: required by `clone`
|
||||
|
||||
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
|
||||
--> $DIR/call_argument_invalid_bound_2.rs:20:37
|
||||
|
|
||||
20 | fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
|
||||
| ^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
||||
|
|
||||
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
|
||||
= note: required because of the requirements on the impl of `std::fmt::Debug` for `&<T as pallet::Config>::Bar`
|
||||
= note: required for the cast to the object type `dyn std::fmt::Debug`
|
||||
|
||||
@@ -5,4 +5,4 @@ error[E0446]: private type `_GeneratedPrefixForStorageFoo<T>` in public interfac
|
||||
| ^^^^^ can't leak private type
|
||||
...
|
||||
20 | #[pallet::storage]
|
||||
| - `_GeneratedPrefixForStorageFoo<T>` declared as private
|
||||
| ------- `_GeneratedPrefixForStorageFoo<T>` declared as private
|
||||
|
||||
Reference in New Issue
Block a user