erigon-seg-rebase
Use the 'erigon seg step-rebase' command to change the step size of an existing datadir. Use when the user wants to rebase segments or modify step sizes.
Install
mkdir -p .claude/skills/erigon-seg-rebase && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4072" && unzip -o skill.zip -d .claude/skills/erigon-seg-rebase && rm skill.zipInstalls to .claude/skills/erigon-seg-rebase
About this skill
Erigon Segment Step Rebase
Overview
The erigon seg step-rebase command changes the step size of an existing Erigon datadir. This is used to modify the granularity of snapshot segments.
Command Syntax
./build/bin/erigon seg step-rebase --datadir=<path> --new-step-size=<size> [other-flags]
Required Flags
--datadir: Path to the Erigon datadir (required)--new-step-size: New step size to rebase to (default: 1562500)
Common Step Sizes
1562500: Default/full stepsize781250: stepsize/2 (half step)390625: stepsize/4 (quarter step)
Usage Patterns
Rebase to Half Step
./build/bin/erigon seg step-rebase --datadir=/path/to/datadir --new-step-size=781250
Rebase to Quarter Step
./build/bin/erigon seg step-rebase --datadir=/path/to/datadir --new-step-size=390625
Important Considerations
Before Running
- Backup datadir: Consider backing up the datadir before rebasing
- Stop Erigon: Ensure Erigon is not running on the target datadir
- Verify current step: Check what the current step size is
- Ensure Erigon binary is built: run
make erigonto build it
After Running
- Verify the rebase completed successfully
- Check segment files in the datadir
- Restart Erigon if needed
Step Sizes
Common step sizes used in Erigon:
1562500: Full/default stepsize781250: Half step (stepsize/2)390625: Quarter step (stepsize/4)
The step size affects:
- Snapshot segment granularity
- File size and organization
- Query and sync performance
Workflow
When the user wants to rebase step size:
-
Confirm parameters
- Ask for target datadir path
- Ask for desired step size
- Confirm if they want to rebase a specific range
-
Safety checks
- Verify datadir exists
- Check if Erigon is running (should not be)
-
Execute rebase
./build/bin/erigon seg step-rebase --datadir=/path/to/datadir --new-step-size=<size> -
Verify results
- Check command output for errors
- List segment files to verify changes
Error Handling
Common issues:
- "datadir not found": Verify the path is correct
- "database locked": Stop Erigon process first
- Invalid step size: Use valid step sizes (1562500, 781250, or 390625)
Examples
Example 1: Rebase datadir to half step
./build/bin/erigon seg step-rebase --datadir=./chaindata --new-step-size=781250
Example 2: Rebase to quarter step
./build/bin/erigon seg step-rebase --datadir=/mnt/erigon/datadir --new-step-size=390625
Tips
- The operation can be time-consuming for large datadirs
- Smaller step sizes (like 390625) create more granular segments
- If building from source, use
make erigonto build the binary atbuild/bin/erigon
More by erigontech
View all skills by erigontech →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversControl any ROS1 or ROS2 robot with natural language using ROS MCP Server—AI-powered, code-free, real-time monitoring an
Break down complex problems with Sequential Thinking, a structured tool and step by step math solver for dynamic, reflec
Unlock seamless Figma to code: streamline Figma to HTML with Framelink MCP Server for fast, accurate design-to-code work
Terminal control, file system search, and diff-based file editing for Claude and other AI assistants. Execute shell comm
Desktop Commander MCP unifies code management with advanced source control, git, and svn support—streamlining developmen
JsonDiffPatch: compare and patch JSON with a compact delta format capturing additions, edits, deletions, and array moves
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.