mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-28 13:29:55 +00:00
Companion for: pallet-mmr: move offchain logic to client-side gadget (#6321)
* Spawn MMR gadget when offchain indexing is enabled
* companion PR code review changes: 1st iteration
* Code review changes: 2nd iteration
* update lockfile for {"substrate"}
Co-authored-by: acatangiu <adrian@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
authored and
1 parent
97bcb6dfe4
commit
4cc40bf08f
8 files changed
+240
-182
No files matched your search
@@ -1450,7 +1450,10 @@ sp_api::impl_runtime_apis! {
|
||||
|
||||
impl mmr::MmrApi<Block, Hash, BlockNumber> for Runtime {
|
||||
fn mmr_root() -> Result<Hash, mmr::Error> {
|
||||
Err(mmr::Error::PalletNotIncluded)
|
||||
}
|
||||
|
||||
fn mmr_leaf_count() -> Result<mmr::LeafIndex, mmr::Error> {
|
||||
Err(mmr::Error::PalletNotIncluded)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user