mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 05:21:03 +00:00
Merkle Mountain Range pallet improvements (#7891)
* Add stateless verification helper function. * Split MMR primitives. * Add RuntimeAPI * RuntimeAPI with OpaqueLeaves * Bump spec_version,. * Move primitives back to frame. * Fix OpaqueLeaf encoding. * Add block number to frame_system implementation of LeafDataProvider. * Relax leaf codec requirements and fix OpaqueLeaf * Add root to debug line. * Apply suggestions from code review Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Typo. Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
// limitations under the License.
|
||||
|
||||
use crate::*;
|
||||
use crate::primitives::{LeafDataProvider, Compact};
|
||||
|
||||
use codec::{Encode, Decode};
|
||||
use frame_support::{
|
||||
impl_outer_origin, parameter_types,
|
||||
};
|
||||
use pallet_mmr_primitives::{LeafDataProvider, Compact};
|
||||
use sp_core::H256;
|
||||
use sp_runtime::{
|
||||
testing::Header,
|
||||
|
||||
Reference in New Issue
Block a user