Skip to content

Commit

Permalink
Merge pull request #60 from xian-network/devnet
Browse files Browse the repository at this point in the history
Devnet
  • Loading branch information
crosschainer authored Sep 7, 2024
2 parents ba8dd80 + 92ce9c5 commit 014c5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracting/execution/metering/tracer.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int
Tracer_trace(Tracer * self, PyFrameObject * frame, int what, PyObject * arg) {
self->call_count++;

if (self->call_count > 400000) {
if (self->call_count > 800000) {
PyErr_SetString(PyExc_AssertionError, "Call count exceeded threshold! Infinite Loop?");
PyEval_SetTrace(NULL, NULL); // Stop tracing
self->started = 0; // Mark tracer as stopped
Expand Down

0 comments on commit 014c5c9

Please sign in to comment.