1. Getting the tace back after last merge
This commit is contained in:
parent
a70761ad2b
commit
4f6a3a6954
|
@ -144,7 +144,8 @@ public class ProgramInvokeFactory {
|
|||
|
||||
if (logger.isInfoEnabled()) {
|
||||
|
||||
logger.info("Internal call: \n" +
|
||||
|
||||
logger.info("Program invocation: \n" +
|
||||
"address={}\n" +
|
||||
"origin={}\n" +
|
||||
"caller={}\n" +
|
||||
|
@ -152,17 +153,29 @@ public class ProgramInvokeFactory {
|
|||
"gasPrice={}\n" +
|
||||
"gas={}\n" +
|
||||
"callValue={}\n" +
|
||||
"data={}\n",
|
||||
"data={}\n" +
|
||||
"lastHash={}\n" +
|
||||
"coinbase={}\n" +
|
||||
"timestamp={}\n" +
|
||||
"blockNumber={}\n" +
|
||||
"difficulty={}\n" +
|
||||
"gaslimit={}\n",
|
||||
Hex.toHexString(address.getLast20Bytes()),
|
||||
Hex.toHexString(origin.getLast20Bytes()),
|
||||
Hex.toHexString(caller.getLast20Bytes()),
|
||||
balance.longValue(),
|
||||
gasPrice.longValue(),
|
||||
gas.longValue(),
|
||||
callValue.longValue(),
|
||||
data == null ? "null": Hex.toHexString(data));
|
||||
new BigInteger(balance.getData()).longValue(),
|
||||
new BigInteger(gasPrice.getData()).longValue(),
|
||||
new BigInteger(gas.getData()).longValue(),
|
||||
Hex.toHexString(callValue.getData()),
|
||||
data == null ? "null": Hex.toHexString(data),
|
||||
Hex.toHexString(lastHash.getData()),
|
||||
Hex.toHexString(coinbase.getData()),
|
||||
Hex.toHexString(timestamp.getData()),
|
||||
new BigInteger(number.getData()).longValue(),
|
||||
Hex.toHexString(difficulty.getData()),
|
||||
new BigInteger(gasLimit.getData()).longValue());
|
||||
}
|
||||
|
||||
|
||||
return new ProgramInvokeImpl(address, origin, caller, balance, gasPrice, gas, callValue,
|
||||
data, lastHash, coinbase, timestamp, number, difficulty, gasLimit,
|
||||
repository, callDeep);
|
||||
|
|
Loading…
Reference in New Issue