mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 14:31:02 +00:00
1953 defensive testing extrinsic (#1998)
# Description The `trigger_defensive` call has been added to the `root-testing` pallet. The idea is to have this pallet running on `Rococo/Westend` and use it to verify if the runtime monitoring works end-to-end. To accomplish this, `trigger_defensive` dispatches an event when it is called. Closes #1953 # Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [ ] My PR follows the [labeling requirements](CONTRIBUTING.md#Process) of this project (at minimum one label for `T` required) - [ ] I have made corresponding changes to the documentation (if applicable) - [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ ----------------------------------------------------------------------------- --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -1349,6 +1349,10 @@ impl pallet_nomination_pools::Config for Runtime {
|
||||
type MaxPointsToBalance = MaxPointsToBalance;
|
||||
}
|
||||
|
||||
impl pallet_root_testing::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
// The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high)
|
||||
pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS;
|
||||
@@ -1483,6 +1487,9 @@ construct_runtime! {
|
||||
|
||||
// Asset rate.
|
||||
AssetRate: pallet_asset_rate::{Pallet, Call, Storage, Event<T>} = 101,
|
||||
|
||||
// Root testing pallet.
|
||||
RootTesting: pallet_root_testing::{Pallet, Call, Storage, Event<T>} = 102,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user