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

graphman: Add simpler chain rewind command to delete blocks #5645

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

encalypto
Copy link
Contributor

This is a simpler version of #5486, which adds a command to delete blocks past a certain point:

$ graphman chain rewind sepolia --block-hash 0xabc123 --block-number 123

Note that deployments are not rewound here.

This rewinds all subgraphs on a chain to a specified block. It has most
of the same arguments as `graphman rewind`, but takes a chain name
instead of a list of deployments.
@encalypto encalypto marked this pull request as ready for review September 16, 2024 15:37
@fordN fordN assigned encalypto and unassigned mangas Sep 16, 2024
@fordN fordN requested a review from mangas September 16, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants