mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Restore block_hash to Batch
It's not only helpful (to easily check where Serai's view of the external network is) but it's necessary in case of a non-trivial chain fork to determine which blockchain Serai considers canonical.
This commit is contained in:
@@ -188,6 +188,7 @@ pub mod substrate {
|
||||
pub struct ExecutedBatch {
|
||||
pub id: u32,
|
||||
pub publisher: Session,
|
||||
pub external_network_block_hash: [u8; 32],
|
||||
pub in_instructions_hash: [u8; 32],
|
||||
pub in_instruction_results: Vec<InInstructionResult>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user