Skip to content

Instantly share code, notes, and snippets.

@amc-ie
Created May 27, 2025 14:20
Show Gist options
  • Save amc-ie/25931c7121c28fc9f16d50221e77c0bd to your computer and use it in GitHub Desktop.
Save amc-ie/25931c7121c28fc9f16d50221e77c0bd to your computer and use it in GitHub Desktop.
Mainnet Beta Release 3.1.2-beta1

The o1Labs team is proud to announce that 3.1.2-beta1 is ready to test on Mainnet! This release includes a lot of changes and refactors that will form a foundation for significant upcoming performance improvements in the daemon.

If you run into any issues, please include Release: 3.1.2-beta1 in the name of any issues you create. Please report any issues you encounter here or join the discussion!

Some highlights of what has changed

Improvements

  • #16582: Use disk cache for complete works held in blocks
  • #16796: Refactor Common module in verifier
  • #16809: Verification of zkapp proofs prior to block creation
  • #16812: Update proof-systems: reintroduce perm_aggreg parallelization + bugfix
  • #16869: Change json format in mina advanced verify-commands
  • #17248: Remove normal ledger catchup

Bug fixes

  • #17099: Parse old precomputed blocks correctly
  • #16974: Mina daemon must always acquire the daemon lockfile
  • #17232: Fixes for rosetta LIMIT and OFFSET parameters

Complete Changelog since 3.1.0:

https://github.com/MinaProtocol/mina/compare/3.1.0...3.1.2-beta1

Supported environments include macOS, Linux (Debian 11 and Ubuntu 20.04 LTS), and any host machine with Docker.


Upgrading & Connecting to Mainnet

Debian Packages:

Debian Repository: First, set up and update the beta Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) beta" | sudo tee /etc/apt/sources.list.d/mina-beta.list
sudo apt-get update

Then, install the package(s) that you need:

Mina Daemon: sudo apt-get install --allow-downgrades -y mina-mainnet=3.1.2-beta1-6dbb365
Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=3.1.2-beta1-6dbb365
Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_6dbb365f.json

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal or bullseye to select the base docker image.

Mina Daemon: gcr.io/o1labs-192920/mina-daemon:3.1.2-beta1-6dbb365-CODENAME-mainnet
Mina Archive: gcr.io/o1labs-192920/mina-archive:3.1.2-beta1-6dbb365-CODENAME
Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:3.1.2-beta1-6dbb365-CODENAME-mainnet

Step by Step Guide:

Docker only Make sure to run with:

--peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt or add PEER_LIST_URL=https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt to your .mina-env.

Run mina daemon with:

mina daemon --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt

Check out our documentation for complete instructions on using this version to connect to Mainnet.

If you are running the correct version on the correct network MAINNET, mina client status will show:

Chain id:     a7351abc7ddf2ea92d1b38cc8e636c271c1dfd2c081c637f62ebc2af34eb7cc1
Git SHA-1:    6dbb365f763c40c9d611cae8466439a6c02e3730
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment