sp-api: Move macro related re-exports to __private (#2446)

This moves the macro related re-exports to `__private` to make it more
obvious for downstream users that they are using an internal api.

---------

Co-authored-by: command-bot <>
This commit is contained in:
Bastian Köcherandcommand-bot authored and GitHub committed 2023-11-23 14:52:46 +01:00
1 parent 12062f6a3a
commit 21f1811c66
30 files changed
+124 -99

No files matched your search

@@ -30,14 +30,14 @@ use jsonrpsee::{
};
use serde::{Deserialize, Serialize};
use sp_api::{ApiExt, NumberFor, ProvideRuntimeApi};
use sp_api::{ApiExt, ProvideRuntimeApi};
use sp_blockchain::HeaderBackend;
use sp_core::{
offchain::{storage::OffchainDb, OffchainDbExt, OffchainStorage},
Bytes,
};
use sp_mmr_primitives::{Error as MmrError, Proof};
use sp_runtime::traits::Block as BlockT;
use sp_runtime::traits::{Block as BlockT, NumberFor};
pub use sp_mmr_primitives::MmrApi as MmrRuntimeApi;