ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
431 stars 112 forks source link

implement offchain local storage spec #1776

Open EclesioMeloJunior opened 3 years ago

EclesioMeloJunior commented 3 years ago

Task summary

Specification reference

Other information and links

EclesioMeloJunior commented 3 years ago

@arijitAD @noot to check the intended behavior how can I revert a block or force a fork?

arijitAD commented 3 years ago

I think once the block is finalized all the non-canonical chains are removed. This is done in the handle chain reorg function.

danforbes commented 3 years ago

Apparently this is not even implemented in Substrate yet, so I can't imagine this is important for a Polkadot client. This is evidenced by the StorageKind::LOCAL case in the offchain::DbExternalities present in this file https://github.com/paritytech/substrate/blob/master/client/offchain/src/api.rs...


image