April Fool's! These release notes are from ChatGPT.
You might want to read the real deal.
ππ₯ O(1) Labs Team is ALL FIRED UP to Drop the LATEST Devnet Archive Migration Tools! π₯π
π BIG NEWS, Friends! π We're thrilled to bits to unveil the shiny new gadgets you'll need for a smooth sail through the Devnet Archive Database Migration! Get ready to kick things up a notch before the Berkeley Upgrade hits Devnet. π
-
mina-archive-maintenance
: Your go-to tool to make sure your Devnet Archive Database is sparkling clean and fully up-to-date. Missing some blocks? No sweat! This genius tool patches them up with blocks exported as JSON by the mina daemon. π Find these golden blocks atgs://mina_network_block_data
. π οΈ -
mina-berkeley-migration-script
: A smart script that juggles multiple tools to seamlessly migrate your Devnet database and ensures it's as good as new. π
π For the ins and outs on wielding these tools like a pro, peek at the documentation drafts or dive into the reference info. π
Heads Up! π Opt for a fresh machine/VM for this mission. Let's keep it clean until the ultimate Devnet hardfork blueprint is ready for action. π
Supported Scenes: macOS, Linux (Debian 10, 11, and Ubuntu 20.04 LTS), and any Docker-friendly host machine.
Tap into the Debian Repository:
Kick things off by refreshing the unstable
Debian Repository for your platform with these magic spells:
sudo rm /etc/apt/sources.list.d/mina*.list
sudo echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) unstable" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update
Then, snag the package(s) you're after:
- Mina Migration Toolkit:
sudo apt-get install --allow-downgrades -y mina-archive-migration=3.0.0-rc0-7a3c681
- Mina Berkeley Archive Schema: create_schema.sql & zkapp_tables.sql (both are must-haves)
Each Docker image is tailored for the supported platforms. Swap CODENAME
with your choice of focal
, buster
, or bullseye
to match your Docker base image.
- Mina Archive Migration Tooling:
gcr.io/o1labs-192920/mina-archive:3.0.0-rc0-7a3c681-CODENAME
- Mina Berkeley Archive Schema: create_schema.sql & zkapp_tables.sql (both essential)
Dive into the usual Devnet connection docs, but keep an eye out for the new requirement: ample disk space for storing the entire chain history in a hefty JSON format. π If disk space is tight but patience is a virtue, the mina-berkeley-migration-script --delete-blocks
switch is your new BFF. Prefer to dodge the download-migrate dance? mina-berkeley-migration-script --prefetch-blocks
is here to save the day! π
Grab a testing block bundle to shave off some prep time. It's a hefty 50GB that unfolds into about 80GB. π¦
Peek into the full details above for the ultimate guide to marching through the Devnet migration like a champ. π
Step-By-Step Migration Guide: Dive deep with our step-by-step example and script documentation to master the migration process. π
Let's add a dash of fun with a riddle, shall we? Amidst the battle with software gremlins, one mainnet block gave us a chuckle and a moment of light relief. Any guesses why block 241082 turned out to be more amusing than anticipated? π€