Skip to content
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

fix: monitor panic #359

Merged
merged 5 commits into from
Sep 3, 2024
Merged

Conversation

jhkimqd
Copy link
Contributor

@jhkimqd jhkimqd commented Sep 2, 2024

Description

This PR fixes the index out of range panic:
monitor-panic

  • The change enforces monitorModeSelectBlock whenever there is keyboard input to query different blocks. Previously this was only done with <Up> and <Down> keys, but now it has been also added to <PageUp> and <PageDown> keys.
  • There is now also a check for scrolling beyond the genesis block to avoid the monitor being stuck at the previous rendered blocks.

This PR also includes displaying the RPC URL in monitor
rpcmonitor

Testing

Tested locally and the previous issue could no longer be reproduced.
image

Signed-off-by: Ji Hwan <jkim@polygon.technology>
Signed-off-by: Ji Hwan <jkim@polygon.technology>
Signed-off-by: Ji Hwan <jkim@polygon.technology>
Signed-off-by: Ji Hwan <jkim@polygon.technology>
@jhkimqd jhkimqd enabled auto-merge September 3, 2024 00:57
@jhkimqd jhkimqd merged commit 6a1ff69 into 0xPolygon:main Sep 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants