This release includes everything from 1.1.6alpha5 with the exception of a change that causes nodes to crash when producing blocks. 1.2.0alpha1 reverts this behavior to match the code in 1.1.5 that we know works and has been working consistently in mainnet.
If you have been running any 1.1.6alpha release and intending to produce blocks, you may run into this bug (and miss blocks). You should immediately either downgrade to the stable 1.1.5 version or upgrade to this 1.2.0alpha1.
Don't worry, 1.2.0 is not some new drastic change from the 1.1.6alpha5 that is already out and being tested. The release number reflects a change in how we are versioning new soft-fork releases. The new features and the large scope of the changes since 1.1.5 justify a bump in the minor
version, and future planned feature releases like this will be 1.3.X, 1.4.X, etc. Incrementing the patch
version (like 1.2.1 vs. 1.2.0) is then reserved for hotfixes.
NOTE: Alpha builds are intended only for use on devnet, to avoid introducing major breaking changes to the mainnet environment. We don't expect major breaking changes here, but the goal is to safely verify that assumption before graduating releases to beta
and eventually stable
for mainnet use.
This release includes all of the changes from 1.1.6alpha5, plus the following:
Stability Improvements and Bug Fixes:
- Revert the changes to staged ledger diff application #9068
Complete Changelog since alpha4:
- Since 1.1.6alpha4: 1.1.6alpha4...1.2.0alpha1
Upgrading & Connecting
Daemon Release Artifacts:
NOTE: For devnet only!
Docker Image:
gcr.io/o1labs-192920/mina-daemon:1.2.0alpha1-8809560-devnet
Debian Package:
To allow for installation of mina-devnet alpha builds but prevent installing mina-mainnet alphas:
echo "deb [trusted=yes] http://packages.o1test.net stretch alpha" | sudo tee /etc/apt/sources.list.d/mina-alpha.list
echo -e "Package: mina-mainnet\nPin: release c=alpha\nPin-priority: 1" | sudo tee /etc/apt/preferences.d/99-mina-alpha
sudo apt-get update
sudo apt-get install -y mina-devnet=1.2.0alpha1-8809560
This creates two files, /etc/apt/sources.list.d/mina-alpha.list
which configures the stretch/alpha repository, and /etc/apt/preferences.d/99-mina-alpha
which lowers the "preference" of mina-mainnet alpha packages so that you do not accidentally install mainnet packages. Delete these two files and reinstall mina if you want to downgrade back to 1.1.5.
Archive Node Release Artifacts:
NOTE: For devnet only!
Docker Image:
gcr.io/o1labs-192920/mina-archive:1.2.0alpha1-8809560-devnet
Debian Package:
sudo apt-get install -y mina-archive-devnet=1.2.0alpha1-8809560
Schema for initializing postgres:
create_schema.sql
Sandbox Node: For testing in an isolated, single-node network without snarks
As of 1.1.6, the demo functionality is built into the standard daemon container, via the environment variable RUN_DEMO=true
.
Just docker run -it --name mina-demo -e RUN_DEMO=true gcr.io/o1labs-192920/mina-daemon:1.2.0alpha1-8809560-devnet
and go!
Block Producer Stats Sidecar:
The block producer sidecar has been upgraded to be more stable and resilient when nodes are in bootstrap/catchup. The :latest docker tag has been updated, or you can pull minaprotocol/mina-bp-stats-sidecar:1.1.6-386c5ac
to ensure you are using the newest version.
Docker Image
minaprotocol/mina-bp-stats-sidecar:latest
Debian Package
sudo apt-get install -y mina-bp-stats-sidecar=1.2.0alpha1-8809560-devnet
Step by Step Guide:
Check out our documentation for complete instructions on using this version to connect to Devnet. Make sure to run with --peer-list-url https://storage.googleapis.com/seed-lists/devnet_seeds.txt
.
If you are running the correct version on the correct network, mina client status
will show:
Chain id: 8af43cf261ea10c761ec540f92aafb76aec56d8d74f77c836f3ab1de5ce4eac5
Git SHA-1: 8809560e611e7974e009902f7eb161cb6a9428e6