Skip to content
Unverified Commit 7ec01ff4 authored by Vedhavyas Singareddi's avatar Vedhavyas Singareddi Committed by GitHub
Browse files

define block hash provider and default impl using frame_system (#4080)

This PR introduces `BlockHashProvider` into `pallet_mmr::Config`
This type is used to get `block_hash` for a given `block_number` rather
than directly using `frame_system::Pallet::block_hash`

The `DefaultBlockHashProvider` uses `frame_system::Pallet::block_hash`
to get the `block_hash`

Closes: #4062
parent d186c2d9
Pipeline #464931 failed with stages
in 1 hour and 37 minutes
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment