Skip to content

Commit

Permalink
change logs level to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
ssd04 committed Dec 28, 2023
1 parent 0d6d949 commit 1b46241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vmhost/contexts/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func (context *storageContext) UseGasForStorageLoad(tracedFunctionName string, t
if err != nil {
return err
}
logStorage.Debug("getBlockchainLoadCost",
logStorage.Warn("getBlockchainLoadCost",
"estimated gas cost", blockchainEstGasCost,
"static gas cost", blockchainLoadCost,
"tracedFunctionName", tracedFunctionName,
Expand Down
4 changes: 2 additions & 2 deletions vmhost/hostCore/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (host *vmHost) RunSmartContractCall(input *vmcommon.ContractCallInput) (vmO
ctx, cancel := context.WithTimeout(context.Background(), host.executionTimeout)
defer cancel()

log.Debug("RunSmartContractCall begin",
log.Warn("RunSmartContractCall begin",
"function", input.Function,
"gasProvided", input.GasProvided,
"gasLocked", input.GasLocked)
Expand Down Expand Up @@ -442,7 +442,7 @@ func (host *vmHost) RunSmartContractCall(input *vmcommon.ContractCallInput) (vmO
vmOutput.Logs = append(vmOutput.Logs, logsFromErrors)
}

log.Debug("RunSmartContractCall end",
log.Warn("RunSmartContractCall end",
"function", input.Function,
"returnCode", vmOutput.ReturnCode,
"returnMessage", vmOutput.ReturnMessage,
Expand Down

0 comments on commit 1b46241

Please sign in to comment.