mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
* into account truncating * more truncating * Update Cargo.lock
This commit is contained in:
Generated
+291
-356
File diff suppressed because it is too large
Load Diff
@@ -407,7 +407,7 @@ pub mod pallet {
|
|||||||
impl<T: Config> Pallet<T> {
|
impl<T: Config> Pallet<T> {
|
||||||
/// Get a unique, inaccessible account id from the `PotId`.
|
/// Get a unique, inaccessible account id from the `PotId`.
|
||||||
pub fn account_id() -> T::AccountId {
|
pub fn account_id() -> T::AccountId {
|
||||||
T::PotId::get().into_account()
|
T::PotId::get().into_account_truncating()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Removes a candidate if they exist and sends them back their deposit
|
/// Removes a candidate if they exist and sends them back their deposit
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ pub fn run() -> Result<()> {
|
|||||||
let id = ParaId::from(para_id);
|
let id = ParaId::from(para_id);
|
||||||
|
|
||||||
let parachain_account =
|
let parachain_account =
|
||||||
AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account(&id);
|
AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account_truncating(&id);
|
||||||
|
|
||||||
let state_version =
|
let state_version =
|
||||||
RelayChainCli::native_runtime_version(&config.chain_spec).state_version();
|
RelayChainCli::native_runtime_version(&config.chain_spec).state_version();
|
||||||
|
|||||||
@@ -566,7 +566,7 @@ pub fn run() -> Result<()> {
|
|||||||
let id = ParaId::from(para_id);
|
let id = ParaId::from(para_id);
|
||||||
|
|
||||||
let parachain_account =
|
let parachain_account =
|
||||||
AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account(&id);
|
AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account_truncating(&id);
|
||||||
|
|
||||||
let state_version =
|
let state_version =
|
||||||
RelayChainCli::native_runtime_version(&config.chain_spec).state_version();
|
RelayChainCli::native_runtime_version(&config.chain_spec).state_version();
|
||||||
|
|||||||
Reference in New Issue
Block a user