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:
Luke Parker
2024-12-31 18:10:47 -05:00
parent 2240a50a0c
commit 6272c40561
10 changed files with 55 additions and 87 deletions

View File

@@ -20,6 +20,7 @@ pub enum Event {
network: NetworkId,
publishing_session: Session,
id: u32,
external_network_block_hash: [u8; 32],
in_instructions_hash: [u8; 32],
in_instruction_results: bitvec::vec::BitVec<u8, bitvec::order::Lsb0>,
},