Kill the light client, CHTs and change tries. (#10080)

* Remove light client, change tries and CHTs

* Update tests

* fmt

* Restore changes_root

* Fixed benches

* Cargo fmt

* fmt

* fmt
This commit is contained in:
Arkadiy Paronyan authored and GitHub committed 2021-11-12 14:15:01 +01:00
1 parent 112b7dac47
commit 4cbbf0cf43
141 files changed
+532 -17807

No files matched your search

+1 -2
View File
@@ -20,7 +20,6 @@ use std::vec;
use beefy_primitives::ValidatorSet;
use codec::Encode;
use sp_core::H256;
use sp_runtime::DigestItem;
use frame_support::traits::OnInitialize;
@@ -32,7 +31,7 @@ fn init_block(block: u64) {
Session::on_initialize(block);
}
pub fn beefy_log(log: ConsensusLog<BeefyId>) -> DigestItem<H256> {
pub fn beefy_log(log: ConsensusLog<BeefyId>) -> DigestItem {
DigestItem::Consensus(BEEFY_ENGINE_ID, log.encode())
}