Closed FlorianHuc closed 1 month ago
java.lang.IllegalArgumentException: null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129) ~[guava-33.0.0-jre.jar:?]
at net.consensys.linea.zktracer.module.hub.section.halt.ReturnSection.
Several exceptions raised:
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129)
at net.consensys.linea.zktracer.module.hub.section.call.CallSection.resolvePostTransaction(CallSection.java:438)
(this is recurrent)
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129)
at net.consensys.linea.zktracer.module.hub.section.halt.ReturnSection.<init>(ReturnSection.java:145)
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129)
at net.consensys.linea.zktracer.module.hub.Hub.exitDeploymentFromDeploymentInfoPointOfView(Hub.java:714)
Precondition failing:
All data collected below was collected at the start of the traceOpcode
method of the Hub.java
class.
BLOCKHASH
transaction = 31
stamp = 59788
depth = 1
remainingGas = 93932
BLOCKHASH argument = 0x102d = 4141
Note. The argument is out of range so BLOCKHASH puts 0x00
on the stack.
BLOCKHASH
Findings. Transaction = 31
seems to break down on a BLOCKHASH
opcode
transaction = 31
stamp = 59843
depth = 1
remainingGas = 93714
BLOCKHASH argument = 0x192d = 6445
0x192d = 6445
has 6699 - 6445 = 254
so we are not even out of bounds for BLOCKHASH
txStack.currentAbsNumber == 31 && opCode() == OpCode.BLOCKHASH
at the start of traceOpcode
in Hub.java
The very next opcode (if you create an unconditional breakpoint at the beginning of traceOpcode
) happens in transaction 32
. We do not traverse any of the following
traceContextExit
traceContextReEnter
⏫ @DavePearce and @letypequividelespoubelles ⏫
I'm wondering if this could be related to the capture mechanism.
We just need to redeploy the last release on the shadow node, the release currently deployed misses the blockhash capture mechanism.
we now trigger the return issue in the replayed file
test is passing with 0.5.3-beta :
Ranges
Issue
Failed to fetch or parse JSON data for block range =6690-6699: 'result' Data received before error for block range =6690-6699: {'jsonrpc': '2.0', 'id': 1, 'error': {'code': -32603, 'message': 'Plugin internal error', 'data': 'Exceptions triggered while tracing:\n - null\n'}}