Skip to content

Commit

Permalink
Removed bad logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanIliev545 committed Sep 22, 2023
1 parent 3d5f926 commit f320c06
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions go/enclave/enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,6 @@ func (e *enclaveImpl) ObsCall(encryptedParams common.EncryptedParamsCall) (*resp
encodedResult = hexutil.Encode(execResult.ReturnData)
}

e.logger.Info("Call result success ", "result", encodedResult)

return responses.AsEncryptedResponse(&encodedResult, vkHandler), nil
}

Expand Down
2 changes: 0 additions & 2 deletions go/enclave/evm/evm_facade.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ func ExecuteObsCall(
noBaseFee := true
if header.BaseFee != nil && header.BaseFee.Cmp(gethcommon.Big0) != 0 && msg.GasPrice.Cmp(gethcommon.Big0) != 0 {
noBaseFee = false
logger.Info("ObsCall - with base fee ", "to", msg.To.Hex())
}

chain, vmCfg, gp := initParams(storage, noBaseFee, nil)
Expand Down Expand Up @@ -186,7 +185,6 @@ func ExecuteObsCall(
return result, err
}

logger.Info("ObsCall - with result ", "gas", result.UsedGas)
return result, nil
}

Expand Down
1 change: 0 additions & 1 deletion go/enclave/l2chain/l2_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ func (oc *obscuroChain) ObsCallAtBlock(apiArgs *gethapi.TransactionArgs, blockNu
result, err := evm.ExecuteObsCall(callMsg, blockState, batch.Header, oc.storage, oc.chainConfig, oc.logger)
if err != nil {
// also return the result as the result can be evaluated on some errors like ErrIntrinsicGas
oc.logger.Info("Call failed with error", log.ErrKey, err)
return result, err
}

Expand Down

0 comments on commit f320c06

Please sign in to comment.