-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zkevm_getBatchByNumber
is returning None
for batches with no transactions
#1560
Comments
After forcing the node to run
and on the node: |
Hi @0xAdriaTorralba, have noted the issue. It indeed do crash. Will report that to the team |
Okay, thank you @obynonwane, I also noticed that the
|
It is a known issue, It should be included in the next milestone |
I have synced the Polygon zkEVM network using this repo, and when I try to obtain the batch information using the
zkevm_getBatchByNumber
endpoint, it returnsNone
for the batches that have no transactions. Find the output example below (batch_index response
)According to Polygonscan zkEVM explorer, these are 1-to-1 match with those batches that have no transactions within.
I'm getting this information running the following in Python.
Is this a known bug, or am I doing something wrong here?
EDIT: I have this running on
latest
version using docker. I don't know if this points tov2.0.x
orv2.60.0
.The text was updated successfully, but these errors were encountered: