Skip to content

Commit

Permalink
Merge pull request #34 from xian-network/remove_logging
Browse files Browse the repository at this point in the history
Remove logging
  • Loading branch information
Endogen authored May 13, 2024
2 parents 32487db + eba071d commit 95194db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions contracting/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ def execute(self, sender, contract_name, function_name, kwargs,
if balance is None:
balance = 0

logger.debug({
'balance': balance,
'stamp_cost': stamp_cost,
'stamps': stamps
})

assert balance * stamp_cost >= stamps, (f'Sender does not have enough stamps for the transaction. '
f'Balance at key {balances_key} is {balance}')

Expand Down
1 change: 0 additions & 1 deletion contracting/execution/metering/tracer.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ Tracer_trace(Tracer * self, PyFrameObject * frame, int what, PyObject * arg) {

if (new_memory_usage > self -> last_frame_mem_usage) {
self -> total_mem_usage += (new_memory_usage - self -> last_frame_mem_usage);
printf("[TRACER] TX total memory usage: %ld\n", self -> total_mem_usage);
}

self -> last_frame_mem_usage = new_memory_usage;
Expand Down

0 comments on commit 95194db

Please sign in to comment.