This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
pallet-mmr: gate MMR offchain canonicalization behind --enable-offchain-indexing=true
#12531
Labels
I4-annoyance
The client behaves within expectations, however this “expected behaviour” itself is at issue.
U1-asap
No need to stop dead in your tracks, however issue should be addressed as soon as possible.
pallet-mmr
sp_io::offchain_index
API to save full MMR leaves content to offchain db,offchain_worker()
fn that does canonicalization of data in offchain db.Issue
When
--enable-offchain-indexing=true
is not set, (1) doesn't write anything to offchain db, while (2) keeps on spamming error logs on failures to do canonicalization.Proposed solution
Also move (2) under the
--enable-offchain-indexing=true
flag so it only runs when actually useful.The text was updated successfully, but these errors were encountered: