Skip to content

Commit 3ddb5e8

Browse files
committed
Rearrange files
1 parent 8e3b559 commit 3ddb5e8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

pallets/phala/src/wapod_workers/tickets.rs renamed to pallets/phala/src/wapod_workers.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! The Phat Contract tokenomic module
1+
//! The pallet managing the wapod workers.
22
33
pub use self::pallet::*;
44

@@ -139,6 +139,10 @@ pub mod pallet {
139139
#[pallet::storage]
140140
pub type WorkerLists<T> = StorageMap<_, Twox64Concat, ListId, WorkerListInfo>;
141141

142+
#[pallet::storage]
143+
pub type WorkerListWorkers<T> =
144+
StorageDoubleMap<_, Twox64Concat, ListId, Twox64Concat, WorkerPublicKey, ()>;
145+
142146
#[pallet::storage]
143147
pub type WorkerDescriptions<T> =
144148
StorageMap<_, Twox64Concat, WorkerPublicKey, WorkerDescription>;
@@ -384,4 +388,4 @@ pub mod pallet {
384388
Ok(())
385389
}
386390
}
387-
}
391+
}

pallets/phala/src/wapod_workers/mod.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

pallets/phala/src/wapod_workers/mq.rs

Whitespace-only changes.

0 commit comments

Comments
 (0)