@Override
  public long getGasRemaining() {
    return gasRemaining;
  }
Returns the gas remaining after the transaction was processed.

<p>This is only valid when {@code TransactionProcessor#isSuccessful} returns {@code true}.

@return the gas remaining after the transaction was processed
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/processing/TransactionProcessingResult.java