mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 01:11:08 +00:00
Make ExecuteBlock::execute_block return the final block header (#8244)
This pr changes the `ExecuteBlock` trait to return the final header that results from executing the given block.
This commit is contained in:
@@ -22,7 +22,6 @@ The Executive module provides functions to:
|
||||
|
||||
The Executive module provides the following implementations:
|
||||
|
||||
- `ExecuteBlock`: Trait that can be used to execute a block.
|
||||
- `Executive`: Type that can be used to make the FRAME available from the runtime.
|
||||
|
||||
## Usage
|
||||
@@ -58,4 +57,4 @@ impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade {
|
||||
pub type Executive = executive::Executive<Runtime, Block, Context, Runtime, AllModules, CustomOnRuntimeUpgrade>;
|
||||
```
|
||||
|
||||
License: Apache-2.0
|
||||
License: Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user