diff --git a/go/enclave/enclave.go b/go/enclave/enclave.go index 92e5cb0ed9..1d07fa3755 100644 --- a/go/enclave/enclave.go +++ b/go/enclave/enclave.go @@ -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 } diff --git a/go/enclave/evm/evm_facade.go b/go/enclave/evm/evm_facade.go index b4e87e975a..fa7b3e42f3 100644 --- a/go/enclave/evm/evm_facade.go +++ b/go/enclave/evm/evm_facade.go @@ -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) @@ -186,7 +185,6 @@ func ExecuteObsCall( return result, err } - logger.Info("ObsCall - with result ", "gas", result.UsedGas) return result, nil } diff --git a/go/enclave/l2chain/l2_chain.go b/go/enclave/l2chain/l2_chain.go index 8804a6b449..004cf2e350 100644 --- a/go/enclave/l2chain/l2_chain.go +++ b/go/enclave/l2chain/l2_chain.go @@ -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 }