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
+1 -1
View File
@@ -18,8 +18,8 @@
//! Extrinsic helpers for author RPC module.
use serde::{Deserialize, Serialize};
use pezsp_core::Bytes;
use serde::{Deserialize, Serialize};
/// RPC Extrinsic or hash
///
@@ -36,8 +36,9 @@ impl From<Error> for ErrorObjectOwned {
pezsc_mixnet::Error::Post(PostErr::TooManyFragments) => BASE_ERROR + 101,
pezsc_mixnet::Error::Post(PostErr::SessionMixnodesNotKnown(_)) => BASE_ERROR + 102,
pezsc_mixnet::Error::Post(PostErr::SessionDisabled(_)) => BASE_ERROR + 103,
pezsc_mixnet::Error::Post(PostErr::Topology(TopologyErr::NoConnectedGatewayMixnodes)) =>
BASE_ERROR + 151,
pezsc_mixnet::Error::Post(PostErr::Topology(
TopologyErr::NoConnectedGatewayMixnodes,
)) => BASE_ERROR + 151,
pezsc_mixnet::Error::Post(PostErr::Topology(_)) => BASE_ERROR + 150,
pezsc_mixnet::Error::Post(_) => BASE_ERROR + 100,
pezsc_mixnet::Error::Remote(RemoteErr::Other(_)) => BASE_ERROR + 200,
+2 -1
View File
@@ -28,7 +28,8 @@ pub fn check_if_safe(ext: &jsonrpsee::Extensions) -> Result<(), UnsafeRpcError>
match ext.get::<DenyUnsafe>().map(|deny_unsafe| deny_unsafe.check_if_safe()) {
Some(Ok(())) => Ok(()),
Some(Err(e)) => Err(e),
None => unreachable!("DenyUnsafe extension is always set by the bizinikiwi rpc server; qed"),
None =>
unreachable!("DenyUnsafe extension is always set by the bizinikiwi rpc server; qed"),
}
}
@@ -18,8 +18,8 @@
//! Bizinikiwi state API helpers.
use serde::{Deserialize, Serialize};
use pezsp_core::Bytes;
use serde::{Deserialize, Serialize};
/// ReadProof struct returned by the RPC
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]