diff --git a/src/mapper/shelley.rs b/src/mapper/shelley.rs index c5ec8c83..19d38a41 100644 --- a/src/mapper/shelley.rs +++ b/src/mapper/shelley.rs @@ -213,6 +213,7 @@ impl EventWriter { .find(|(k, _)| *k == (idx as u32)) .map(|(_, v)| v); + #[allow(deprecated)] let tx_hash = crypto::hash_transaction(tx).to_hex(); let child = self.child_writer(EventContext { diff --git a/src/sinks/assert/run.rs b/src/sinks/assert/run.rs index 87801b32..e9286cbf 100644 --- a/src/sinks/assert/run.rs +++ b/src/sinks/assert/run.rs @@ -77,12 +77,12 @@ pub fn assertion_loop( state = reduce_state(state, event); - run_check!(&config, &state, block_depth_doesnt_skip_numbers); - run_check!(&config, &state, block_slot_increases); - run_check!(&config, &state, block_previous_hash_matches); - run_check!(&config, &state, event_timestamp_increases); - run_check!(&config, &state, tx_records_matches_block_count); - run_check!(&config, &state, tx_has_input_and_output); + run_check!(config, &state, block_depth_doesnt_skip_numbers); + run_check!(config, &state, block_slot_increases); + run_check!(config, &state, block_previous_hash_matches); + run_check!(config, &state, event_timestamp_increases); + run_check!(config, &state, tx_records_matches_block_count); + run_check!(config, &state, tx_has_input_and_output); } Ok(())