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
@@ -38,8 +38,8 @@
//! ```
use async_trait::async_trait;
use serde::de::DeserializeOwned;
use pezsp_runtime::traits::{Block as BlockT, Header as HeaderT};
use serde::de::DeserializeOwned;
use std::collections::VecDeque;
pub use jsonrpsee::{
@@ -25,8 +25,8 @@ use jsonrpsee::{
};
use pezsc_client_api::TrieCacheContext;
use pezsc_rpc_api::check_if_safe;
use serde::{Deserialize, Serialize};
use pezsp_runtime::traits::Block as BlockT;
use serde::{Deserialize, Serialize};
use std::sync::Arc;
use pezsp_core::{
@@ -88,7 +88,8 @@ where
// get all child trie roots
for key_value in trie.iter().map_err(|e| format!("TrieDB node iterator error: {}", e))? {
let (key, value) = key_value.map_err(|e| format!("TrieDB node iterator error: {}", e))?;
if key[..].starts_with(pezsp_core::storage::well_known_keys::DEFAULT_CHILD_STORAGE_KEY_PREFIX)
if key[..]
.starts_with(pezsp_core::storage::well_known_keys::DEFAULT_CHILD_STORAGE_KEY_PREFIX)
{
let prefixed_key = PrefixedStorageKey::new(key);
let (_type, unprefixed) = ChildType::from_prefixed_key(&prefixed_key).unwrap();
@@ -15,18 +15,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Combines [pezsc_rpc_api::state::StateApiClient] with [pezframe_support::storage::generator] traits
//! to provide strongly typed chain state queries over rpc.
//! Combines [pezsc_rpc_api::state::StateApiClient] with [pezframe_support::storage::generator]
//! traits to provide strongly typed chain state queries over rpc.
#![warn(missing_docs)]
use codec::{DecodeAll, FullCodec, FullEncode};
use core::marker::PhantomData;
use pezframe_support::storage::generator::{StorageDoubleMap, StorageMap, StorageValue};
use jsonrpsee::core::ClientError as RpcError;
use pezframe_support::storage::generator::{StorageDoubleMap, StorageMap, StorageValue};
use pezsc_rpc_api::state::StateApiClient;
use serde::{de::DeserializeOwned, Serialize};
use pezsp_storage::{StorageData, StorageKey};
use serde::{de::DeserializeOwned, Serialize};
/// A typed query on chain state usable from an RPC client.
///
@@ -217,6 +217,7 @@ mod tests {
use super::*;
use assert_matches::assert_matches;
use bizinikiwi_test_runtime_client::{runtime::Transfer, Sr25519Keyring};
use futures::executor::block_on;
use pezsc_rpc_api::DenyUnsafe;
use pezsc_transaction_pool::BasicPool;
@@ -224,7 +225,6 @@ mod tests {
transaction_validity::{InvalidTransaction, TransactionValidityError},
ApplyExtrinsicResult,
};
use bizinikiwi_test_runtime_client::{runtime::Transfer, Sr25519Keyring};
fn deny_unsafe() -> Extensions {
let mut ext = Extensions::new();