Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed bad logs. #1548

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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