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 4061884 that is ready to test on the Testworld 2.0 testnet! Please report any issues in the comments on this post or tag any issues you create with berkeley-rampup and include berkeley 4061884 in the issue title.
What changed
Bug Fixes
- Libp2p helper crashing from unknown exception #14383
- timing task transition_frontier_load failed #14366
Complete CHANGELOG since 55b7818 in:
GitHub Compare: 55b7818...4061884
O1JS CHANGELOG
https://github.com/o1-labs/o1js/blob/main/CHANGELOG.md
Installation
Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.
There is no schema change comparing to previous release candidate when installing Mina Archive node
Note: zkApps Test Transaction CLI tool is not supported to create token accounts in this release.
Upgrading and Connecting to Testworld 2.0
Debian Packages
First, set up and update the rampup Debian Repository for your platform.
Replace CODENAME with the appropriate codename for your machine (focal
, 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 or packages that you need:
- Mina Daemon
sudo apt-get install -y mina-berkeley=2.0.0rampup6-4061884
- Mina Archive
sudo apt-get install -y mina-archive=2.0.0rampup6-4061884
- zkApps Test Transaction CLI
sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup6-4061884
- zkApps Transaction CLI README
Docker Images
Every docker image is built for each of the supported platforms.
To select the base docker image, replace CODENAME with the codename appropriate for your machine (focal
, buster
, or bullseye
):
- Mina Daemon: gcr.io/o1labs-192920/mina-daemon:2.0.0rampup6-4061884-CODENAME-berkeley
- Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0rampup6-4061884-CODENAME
Step-by-Step Guide
This version connects and functions only on the newly launched Testworld 2.0.
- Create a libp2p key pair for a node the first time and persist it.
mina libp2p generate-keypair -privkey-path <path-to-the-key-file>
- Set the environment variable
MINA_LIBP2P_PASS
with the password set for the libp2p key pair in the previous step. - Run mina daemon with:
-libp2p-keypair <path-to-the-key-file>
andhttps://storage.googleapis.com/seed-lists/testworld-2-0_seeds.txt
If you are running the correct version on the correct network, Testworld 2.0, the expected output of the mina client status
command is:
Git SHA-1: 4061884b18137c1182c7fcfa80f52804008a2509
Chain ID: 332c8cc05ba8de9efc23a011f57015d8c9ec96fac81d5d3f7a06969faf4bce92