Skip to content

Commit

Permalink
Francois' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianHuc committed Oct 11, 2024
1 parent d6535db commit 1d183f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,8 @@ public void resolveUponContextReEntry(Hub hub, CallFrame callFrame) {
contextReEntryDefers.remove(callFrame);
}
}

public void unscheduleForContextReEntry(ContextReEntryDefer defer, CallFrame callFrame) {
contextReEntryDefers.get(callFrame).remove(defer);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public ModexpSubsection(final Hub hub, final CallSection callSection) {
.compareTo(BigInteger.valueOf(PROVER_MAX_INPUT_BYTE_SIZE))
>= 0) {
hub.modexpEffectiveCall().addPrecompileLimit(Integer.MAX_VALUE);
hub.defers().unscheduleForContextReEntry(this, hub.currentFrame());
return;
}

Expand Down

0 comments on commit 1d183f8

Please sign in to comment.