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
+2 -1
View File
@@ -107,7 +107,8 @@ pub mod pezpallet {
pub trait Config: pezframe_system::Config {
/// The overarching 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 overarching call type.
type RuntimeCall: Parameter
+9 -6
View File
@@ -47,8 +47,9 @@ fn can_pause_all_calls_in_pallet_except_on_whitelist() {
new_test_ext().execute_with(|| {
assert_ok!(call_transfer(1, 1).dispatch(RuntimeOrigin::signed(0)));
let batch_call =
RuntimeCall::Utility(pezpallet_utility::Call::batch { calls: vec![call_transfer(1, 1)] });
let batch_call = RuntimeCall::Utility(pezpallet_utility::Call::batch {
calls: vec![call_transfer(1, 1)],
});
assert_ok!(batch_call.clone().dispatch(RuntimeOrigin::signed(0)));
assert_ok!(TxPause::pause(
@@ -87,8 +88,9 @@ fn can_unpause_specific_call() {
#[test]
fn can_filter_balance_in_batch_when_paused() {
new_test_ext().execute_with(|| {
let batch_call =
RuntimeCall::Utility(pezpallet_utility::Call::batch { calls: vec![call_transfer(1, 1)] });
let batch_call = RuntimeCall::Utility(pezpallet_utility::Call::batch {
calls: vec![call_transfer(1, 1)],
});
assert_ok!(TxPause::pause(
RuntimeOrigin::signed(mock::PauseOrigin::get()),
@@ -146,8 +148,9 @@ fn fails_to_pause_unpausable_call_when_other_call_is_paused() {
new_test_ext().execute_with(|| {
assert_ok!(call_transfer(1, 1).dispatch(RuntimeOrigin::signed(0)));
let batch_call =
RuntimeCall::Utility(pezpallet_utility::Call::batch { calls: vec![call_transfer(1, 1)] });
let batch_call = RuntimeCall::Utility(pezpallet_utility::Call::batch {
calls: vec![call_transfer(1, 1)],
});
assert_ok!(batch_call.clone().dispatch(RuntimeOrigin::signed(0)));
assert_ok!(TxPause::pause(