Unverified Commit 1a7f3fa7 authored by vipwzw's avatar vipwzw Committed by GitHub

Merge pull request #1027 from zhengjunhe/modify_log_level_for_evm_run

Modify log level for evm run
parents 2b013042 dcdc0324
......@@ -402,7 +402,6 @@ func callContract(cmd *cobra.Command, args []string) {
toAddr := address.ExecAddress(exector)
tx := &types.Transaction{Execer: []byte(exector), Payload: types.Encode(&action), Fee: 0, To: toAddr, ChainID: chainID}
tx.Fee, _ = tx.GetRealFee(cfg.MinTxFeeRate)
if tx.Fee < feeInt64 {
tx.Fee += feeInt64
......
......@@ -215,10 +215,6 @@ func (in *Interpreter) Run(contract *Contract, input []byte, readOnly bool) (ret
logged = true
}
log15.Info("operation.execute", "op=", op.String(), "contract addr=", contract.self.Address().String(),
"CallerAddress=", contract.CallerAddress.String(),
"caller=", contract.caller.Address().String())
// 执行具体的指令操作逻辑(合约执行的核心)
res, err = operation.execute(&pc, in.evm, callContext)
// 如果本操作需要返回,则讲操作返回的结果最为合约执行的结果
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment