chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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},
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user