chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -107,7 +107,8 @@ 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 permissioned to create a conversion rate for an asset.
|
||||
type CreateOrigin: EnsureOrigin<Self::RuntimeOrigin>;
|
||||
|
||||
@@ -57,5 +57,8 @@ impl pezpallet_asset_rate::Config for Test {
|
||||
|
||||
// Build genesis storage according to the mock runtime.
|
||||
pub fn new_test_ext() -> pezsp_io::TestExternalities {
|
||||
pezframe_system::GenesisConfig::<Test>::default().build_storage().unwrap().into()
|
||||
pezframe_system::GenesisConfig::<Test>::default()
|
||||
.build_storage()
|
||||
.unwrap()
|
||||
.into()
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
use super::*;
|
||||
use crate::pezpallet as pezpallet_asset_rate;
|
||||
use pezframe_support::{assert_noop, assert_ok};
|
||||
use mock::{new_test_ext, AssetRate, RuntimeOrigin, Test};
|
||||
use pezframe_support::{assert_noop, assert_ok};
|
||||
use pezsp_runtime::FixedU128;
|
||||
|
||||
const ASSET_ID: u32 = 42;
|
||||
|
||||
Reference in New Issue
Block a user