github MinaProtocol/mina 3.0.2-beta1
Mainnet Beta Release 3.0.2-beta1

pre-release16 hours ago

The o1Labs team is proud to announce that 3.0.2-beta1 is ready to test on Mainnet! This release includes a set of important bug fixes, improvements as well as code cleanup & CI improvements.

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

What has changed

New Features

  • Expose raw binary account contents from GraphQL #16000
  • Expose ledger membership proofs from GraphQL for ultra-lite clients / wallets #15987
  • GraphQL command to request 'protocol state' for a particular block #15893
  • Reduce duplicated snark work across the network with 'random offset' mode #15981

To use this option, add --work-selection roffset to the snark worker daemon command.
In the new option, the worker computes a random number, and fetch work sequentially starting from this index in the list of required work. This methods is expected to reduce wasted work and preserving throughput compared to random, but does not guarantee the priority of work production. The optimal approach for someone running several workers is to run a few worker with the sequential method, to ensure the priority work is ready, and the rest of the worker with the random offset selection to reduce wasted work and improve throughput.

Bug Fixes

  • Fix epochDelegateAccount GraphQL command #15949

Improvements

  • Speed up processing of slow transactions by ~20% #15978 / #15979
  • Security upgrade to arkworks 0.4.2 #15940
  • Rosetta available as its own debian package #15897
  • Full support of the nix build system #15848

Complete Changelog since 3.0.1:

3.0.1...3.0.2-beta1

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

Debian 10 is no longer a supported operating system and as such is not tested as part of our release process. We recommend that users upgrade to a more recent supported operating system.


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.0.2-beta1-9ef74da

Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=3.0.2-beta1-9ef74da

Mina Archive Schema: create_schema.sql

Config File: var/lib/coda/config_9ef74da5.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.0.2-beta1-9ef74da-CODENAME-mainnet

Mina Archive: gcr.io/o1labs-192920/mina-archive:3.0.2-beta1-9ef74da-CODENAME

Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:3.0.2-beta1-9ef74da-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:    9ef74da5401802b4181b21418f38f2405ccb409b

Don't miss a new mina release

NewReleases is sending notifications on new releases.