chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -295,7 +295,11 @@ pub mod pezpallet {
|
||||
fn mint_works() {
|
||||
StateBuilder::default().build_and_execute(|| {
|
||||
// given the initial state, when:
|
||||
assert_ok!(Pezpallet::<Runtime>::mint_unsafe(RuntimeOrigin::signed(ALICE), BOB, 100));
|
||||
assert_ok!(Pezpallet::<Runtime>::mint_unsafe(
|
||||
RuntimeOrigin::signed(ALICE),
|
||||
BOB,
|
||||
100
|
||||
));
|
||||
|
||||
// then:
|
||||
assert_eq!(Balances::<Runtime>::get(&BOB), Some(200));
|
||||
|
||||
@@ -62,8 +62,8 @@ construct_runtime!(
|
||||
mod runtime_types {
|
||||
use super::*;
|
||||
pub(super) type SignedExtra = (
|
||||
// `frame` already provides all the signed extensions from `pezframe-system`. We just add the
|
||||
// one related to tx-payment here.
|
||||
// `frame` already provides all the signed extensions from `pezframe-system`. We just add
|
||||
// the one related to tx-payment here.
|
||||
frame::runtime::types_common::SystemTransactionExtensionsOf<Runtime>,
|
||||
pezpallet_transaction_payment::ChargeTransactionPayment<Runtime>,
|
||||
);
|
||||
|
||||
@@ -23,9 +23,9 @@ use crate::{
|
||||
};
|
||||
use alloc::vec;
|
||||
use pezframe_support::build_struct_json_patch;
|
||||
use serde_json::{json, to_string, Value};
|
||||
use pezsp_application_crypto::Ss58Codec;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
use serde_json::{json, to_string, Value};
|
||||
|
||||
/// A demo preset with strings only.
|
||||
pub const PRESET_1: &str = "preset_1";
|
||||
|
||||
Reference in New Issue
Block a user