message: fix proof in block_executor
diff: @@ -5,10 +5,13 @@ use crate::executor::Executor;
  use crate::TransactionExecutor;
  use crypto::HashValue;
  // use logger::prelude::*;
  +use crypto::hash::PlainCryptoHash;
  use starcoin_state_api::ChainState;
  use starcoin_types::block_metadata::BlockMetadata;
  +use starcoin_types::contract_event::ContractEventHasher;
  use starcoin_types::error::BlockExecutorError;
  use starcoin_types::error::ExecutorResult;
  +use starcoin_types::proof::InMemoryAccumulator;
  use starcoin_types::transaction::TransactionStatus;
  use starcoin_types::transaction::{Transaction, TransactionInfo};
  use vm_runtime::counters::TXN_STATUS_COUNTERS;
  @@ -56,12 +59,17 @@ impl BlockExecutor {
  let txn_state_root = chain_state
  .commit()
  .map_err(BlockExecutorError::BlockChainStateErr)?;
  + let event_hashes: Vec<_> = events.iter().map(|e| e.crypto_hash()).collect();
  + let events_accumulator_hash =
  + InMemoryAccumulator::<ContractEventHasher>::from_leaves(
  + event_hashes.as_slice(),
  + )
  + .root_hash();
  vec_transaction_info.push(TransactionInfo::new(
  txn_hash,
  txn_state_root,
  - //TODO add event root hash.
  - HashValue::zero(),
  + events_accumulator_hash,
  events,
  gas_used,
  status.major_status,
  