mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
[ci] Update rust in ci image (1.75 and 2024-01-22) (#3016)
cc https://github.com/paritytech/ci_cd/issues/926 --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Dónal Murray <donal.murray@parity.io> Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
This commit is contained in:
committed by
GitHub
parent
5a6f6d33d3
commit
5b7f24fca1
@@ -19,6 +19,7 @@ use codec::{Decode, Encode};
|
||||
use frame_support::PalletError;
|
||||
|
||||
#[frame_support::pallet]
|
||||
#[allow(unused_imports)]
|
||||
mod pallet {
|
||||
#[pallet::config]
|
||||
pub trait Config: frame_system::Config {}
|
||||
@@ -34,25 +35,24 @@ mod pallet {
|
||||
|
||||
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
|
||||
pub enum MyError {
|
||||
Foo,
|
||||
Bar,
|
||||
Baz(NestedError),
|
||||
Struct(MyStruct),
|
||||
Wrapper(Wrapper),
|
||||
Foo,
|
||||
Bar,
|
||||
Baz(NestedError),
|
||||
Struct(MyStruct),
|
||||
Wrapper(Wrapper),
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
|
||||
pub enum NestedError {
|
||||
Quux
|
||||
Quux,
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
|
||||
pub struct MyStruct {
|
||||
field: u8,
|
||||
field: u8,
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
|
||||
pub struct Wrapper(bool);
|
||||
|
||||
fn main() {
|
||||
}
|
||||
fn main() {}
|
||||
|
||||
+1
@@ -16,6 +16,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
#[frame_support::pallet]
|
||||
#[allow(unused_imports)]
|
||||
mod pallet {
|
||||
use frame_support::pallet_prelude::{Hooks, IsType};
|
||||
use frame_system::pallet_prelude::BlockNumberFor;
|
||||
|
||||
Reference in New Issue
Block a user