Skip to content

Conversation

@dloghin
Copy link
Contributor

@dloghin dloghin commented Feb 9, 2026

There are cases when we want to benchmark or profile XLayer with more data in the database. In these cases, we want to run XLayer devnet with XLayer testnet or mainnet data.

This PR proposes the following way:

  • Download testnet/mainnet snapshot or set a local rpc using xlayer-toolkit and sync the latest blocks.

  • Create a big genesis file based on the testnet/mainnet data. For this, we created a tool named gen-genesis under xlayer-reth repository that creates a big genesis file starting from a template genesis and an existing op-reth data directory. The template genesis is created during the xlayer-toolkit devnet setup process (./3-op-init.sh) and the gen-genesis tool is run under the same script after this genesis is created.

  • Start devnet using the standard way (./0-all.sh) just by modifying a few .env variables.

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.

1 participant