Mainnet Stable Release 3.0.2
The o1Labs team is proud to announce that 3.0.2
is ready for 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
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:
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 stable
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) stable" | sudo tee /etc/apt/sources.list.d/mina.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-4aac388
Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=3.0.2-4aac388
Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_4aac3881.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: minaprotocol/mina-daemon:3.0.2-4aac388-CODENAME-mainnet
Mina Archive: minaprotocol/mina-archive:3.0.2-4aac388-CODENAME
Mina Rosetta: new version coming soon
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: 4aac38814556b9641ffbdfaef19b38ab7980011b