Mina's ecosystem partner, O(1) Labs, is continuously working on improvements to the core protocol and today we are excited to announce an updated unstable release 42d2005 that is ready to test on the Berkeley testnet! Please report any issues in the comments on this post or tag any issues you create with berkeley-rampup and include berkeley 42d2005 in the issue title.
Improvements / features:
- Lucy genesis ledger and keys refactor #12391
- Print debian releases #12800
- Demote network pool batch size logs to debug #12846
- logproc package #12827
- Logging for low_fill_rate debugging #12902
- Snarkyjs: run circuits without failing assertions #12911
- fix conflicts from compatible #13006
Bug fixes:
- Fix Archive : All columns for block subchain query #12997
When installing Mina Archive please use the following schema files from the release commit:
https://github.com/MinaProtocol/mina/blob/42d2005d04b59d14aacf4eef5ccee353e9a531b7/src/app/archive/create_schema.sql
https://github.com/MinaProtocol/mina/blob/42d2005d04b59d14aacf4eef5ccee353e9a531b7/src/app/archive/zkapp_tables.sql
Note: zkApps Test Transaction CLI tool cannot be used to create token accounts in this release.
Complete Changelog since b1facec in:
Github Compare: b1facec...42d2005
SnarkyJS change log:
https://github.com/o1-labs/snarkyjs/blob/main/CHANGELOG.md
Upgrading & Connecting to Berkeley Testnet
Debian Packages:
First, set up and update the rampup Debian Repository for your platform. Replace the word CODENAME
with the appropriate codename for your machine, one of bionic
, focal
, stretch
, buster
, or bullseye
and run:
sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net/ CODENAME rampup" | sudo tee /etc/apt/sources.list.d/mina-rampup.list
sudo apt-get update
Then, install the package(s) that you need:
Mina Daemon: sudo apt-get install -y mina-berkeley=2.0.0rampup2-42d2005
Mina Archive: sudo apt-get install -y mina-archive=2.0.0rampup2-42d2005
zkApps Test Transaction CLI: sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup2-42d2005
zkApps Transaction CLI Documentation
Docker Images:
Every docker image is built for each of the supported platforms, replace CODENAME
in the images below with your choice of bionic
, focal
, stretch
, buster
, or bullseye
to select the base docker image.
Mina Daemon: gcr.io/o1labs-192920/mina-daemon:2.0.0rampup2-42d2005-CODENAME-berkeley
Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0rampup2-42d2005-CODENAME
Step by Step Guide:
This version will only connect and function properly on the newly launched Berkeley Testnet.
-
Create a libp2p keypair for a node the first time and persist it
mina libp2p generate-keypair -privkey-path <path-to-the-key-file>
-
Run mina daemon
Set environment variableMINA_LIBP2P_PASS
with the password set for the libp2p keypair in previous step.
Make sure to run the daemon with-libp2p-keypair <path-to-the-key-file>
and--peer-list-url https://storage.googleapis.com/seed-lists/berkeley_seeds.txt
.
If you are running the correct version on the correct network BERKELEY TESTNET
, mina client status will show:
Chain id: 8c4908f1f873bd4e8a52aeb4981285a148914a51e61de6ac39180e61d0144771
Git SHA-1: 42d2005