content: package org.aion.precompiled.contracts.ATB;
  
  import java.util.ArrayList;
  import org.aion.precompiled.ExternalCapabilitiesForTesting;
  import org.aion.precompiled.type.PrecompiledTransactionContext;
  import org.aion.precompiled.util.AddressUtils;
  import org.aion.types.AionAddress;
  
  public class BridgeTestUtils {
      static PrecompiledTransactionContext dummyContext() {
          return context(AddressUtils.ZERO_ADDRESS, AddressUtils.ZERO_ADDRESS);
      }
  
      private static ExternalCapabilitiesForTesting capabilities = new ExternalCapabilitiesForTesting();
  
      static PrecompiledTransactionContext context(AionAddress from, AionAddress to) {
          final byte[] transactionHash = capabilities.blake2b("transaction".getBytes());
          final long nrgLimit = 21000L;
          final int callDepth = 1;
          long blockNumber = 0;
  
          return new PrecompiledTransactionContext(
                  to,
                  from,
                  from,
                  new ArrayList<>(),
                  new ArrayList<>(),
                  new ArrayList<>(),
                  transactionHash,
                  transactionHash,
                  blockNumber,
                  nrgLimit,
                  callDepth);
      }
  }
  