chore: regenerate umbrella crate, fix feature propagation

This commit is contained in:
2025-12-16 11:28:32 +03:00
parent dd6d48f528
commit 620b0e3aa0
1358 changed files with 9464 additions and 7656 deletions
+4 -3
View File
@@ -55,10 +55,11 @@ pub mod pezpallet {
/// The runtime event type.
#[allow(deprecated)]
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type RuntimeEvent: From<Event<Self>>
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
/// The origin which may command personhood updates through this pezpallet. Root can always do
/// this.
/// The origin which may command personhood updates through this pezpallet. Root can always
/// do this.
type UpdateOrigin: EnsureOrigin<Self::RuntimeOrigin>;
/// The maximum number of people supported in a single operation.
+3 -1
View File
@@ -16,7 +16,9 @@
// limitations under the License.
use pezframe_support::derive_impl;
use pezframe_system::{offchain::CreateTransactionBase, pezpallet_prelude::ExtrinsicFor, EnsureRoot};
use pezframe_system::{
offchain::CreateTransactionBase, pezpallet_prelude::ExtrinsicFor, EnsureRoot,
};
use pezsp_core::{ConstU16, ConstU32, ConstU64, H256};
use pezsp_runtime::{
traits::{BlakeTwo256, IdentityLookup},
+3 -1
View File
@@ -107,7 +107,9 @@ fn personhood_recognition_and_suspension_works() {
}
assert_ok!(DummyDim::end_mutation_session(RuntimeOrigin::root()));
pezpallet_people::RingsState::<Test>::mutate(|s| *s = s.clone().end_key_migration().unwrap());
pezpallet_people::RingsState::<Test>::mutate(|s| {
*s = s.clone().end_key_migration().unwrap()
});
assert_ok!(DummyDim::start_mutation_session(RuntimeOrigin::root()));
for id in 50..100 {