mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-11 20:34:21 +00:00
More concice logging program input
This commit is contained in:
parent
2e7c40d6dc
commit
b7197abe0e
@ -75,7 +75,7 @@ public class ProgramInvokeFactory {
|
|||||||
long gaslimit = block.getGasLimit();
|
long gaslimit = block.getGasLimit();
|
||||||
|
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Program invocation: \n" +
|
logger.info("Top level call: \n" +
|
||||||
"address={}\n" +
|
"address={}\n" +
|
||||||
"origin={}\n" +
|
"origin={}\n" +
|
||||||
"caller={}\n" +
|
"caller={}\n" +
|
||||||
@ -144,7 +144,7 @@ public class ProgramInvokeFactory {
|
|||||||
|
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
|
|
||||||
logger.info("Program invocation: \n" +
|
logger.info("Internal call: \n" +
|
||||||
"address={}\n" +
|
"address={}\n" +
|
||||||
"origin={}\n" +
|
"origin={}\n" +
|
||||||
"caller={}\n" +
|
"caller={}\n" +
|
||||||
@ -152,27 +152,15 @@ public class ProgramInvokeFactory {
|
|||||||
"gasPrice={}\n" +
|
"gasPrice={}\n" +
|
||||||
"gas={}\n" +
|
"gas={}\n" +
|
||||||
"callValue={}\n" +
|
"callValue={}\n" +
|
||||||
"data={}\n" +
|
"data={}\n",
|
||||||
"lastHash={}\n" +
|
Hex.toHexString(address.getLast20Bytes()),
|
||||||
"coinbase={}\n" +
|
Hex.toHexString(origin.getLast20Bytes()),
|
||||||
"timestamp={}\n" +
|
Hex.toHexString(caller.getLast20Bytes()),
|
||||||
"blockNumber={}\n" +
|
balance.longValue(),
|
||||||
"difficulty={}\n" +
|
gasPrice.longValue(),
|
||||||
"gaslimit={}\n",
|
gas.longValue(),
|
||||||
Hex.toHexString(address.getData()),
|
callValue.longValue(),
|
||||||
Hex.toHexString(origin.getData()),
|
data == null ? "null": Hex.toHexString(data));
|
||||||
Hex.toHexString(caller.getData()),
|
|
||||||
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,
|
return new ProgramInvokeImpl(address, origin, caller, balance, gasPrice, gas, callValue,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user