message: Test that `Identity` transform is produced even for failed execution.
diff: @@ -4,9 +4,12 @@ use casper_engine_test_support::{
  utils, ExecuteRequestBuilder, InMemoryWasmTestBuilder, DEFAULT_ACCOUNTS, DEFAULT_ACCOUNT_ADDR,
  DEFAULT_ACCOUNT_INITIAL_BALANCE, DEFAULT_RUN_GENESIS_REQUEST, MINIMUM_ACCOUNT_CREATION_BALANCE,
  };
  -use casper_execution_engine::core::{
  +use casper_execution_engine::{
  + core::{
  engine_state::{self, genesis::GenesisAccount},
  execution,
  + },
  + shared::transform::Transform,
  };
  use casper_types::{
  account::AccountHash, runtime_args, system::mint, ApiError, Key, Motes, PublicKey, RuntimeArgs,
  @@ -82,6 +85,16 @@ fn should_fail_to_get_funds_from_faucet_stored() {
  if api_error == ApiError::from(mint::Error::InvalidContext) => {}
  _ => panic!("should be an error"),
  }
  +
  + // Verify that even though execution failed, we still emit the `Identity` transform for the contract we called.
  + let transforms = builder.get_execution_journals().last().unwrap().clone();
  + assert!(
  + transforms
  + .iter()
  + .any(|(key, transform)| *key == Key::Hash(contract_hash)
  + && transform == &Transform::Identity),
  + "Expected `Transform::Identity` for the called contract even for failed execution."
  + );
  }
  #[ignore]
  