Berkeley Testnet Release 2.0.0rampup1-b1facec
Pre-releaseMina'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 b1facec 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 b1facec in the issue title.
Improvements/features:
- Rename sequence_state to action_state #12715
- Add last VRF output and subwindow densities to blocks in archive #12750
- Protocol version in archive db #12847
- Fix for berkeley chain halt. The issue was an underflow not handled correctly when computing balance for accounts with vesting schedule #12805
There are archive schema changes in this release. Please use the following schema files from the release commit:
https://github.com/MinaProtocol/mina/blob/b1facecde934ce3969771c34962b878d75321ca7/src/app/archive/create_schema.sql
https://github.com/MinaProtocol/mina/blob/b1facecde934ce3969771c34962b878d75321ca7/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 68fa3fa in:
Github Compare: 68fa3fa...b1facec
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 unstable 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:
echo "deb [trusted=yes] http://packages.o1test.net/ CODENAME unstable" | sudo tee /etc/apt/sources.list.d/mina-unstable.list
sudo apt-get update
Then, install the package(s) that you need:
Mina Daemon: sudo apt-get install -y mina-berkeley=2.0.0rampup1-rampup-b1facec
Mina Archive: sudo apt-get install -y mina-archive=2.0.0rampup1-rampup-b1facec
zkApps Test Transaction CLI: sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup1-rampup-b1facec
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.0rampup1-rampup-b1facec-CODENAME-berkeley
Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0rampup1-rampup-b1facec-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: b1facec