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 55b7818 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 55b7818 in the issue title.
What changed
Bug Fixes
- Fix non-determinism in scan state representation #13435
- Fix hashtbl usages #13511
- Fix snark pool long async cycles #13556
- Fix block producer long async cycle #13654
- Fix bootstrap long async cycle #13885
- Sort list of equivalence class elements #13592
- Upgrade libp2p and Go version #14085
- Add chain id to node status report #13982
- Rename global slot in fork config #14014
- Support larger ledgers in IPC communication #11973
Features
- New protocol versioning #14227
- Disable rate limitting for snark works #14174
- CLI command to dump libp2p keys #14169
Improvements
- Remove duplicate account inclusion checks #13422
- Reduce delay in broadcasting blocks #13551
- Hardcode number of oversized logs #14286
- Remove constructors for account precondition #14117
- Remove some oversized logs #14054
- Node performance improvement by batching transactions when writing to persistent frontier #13557
- Stop printing accounts from runtime config #1407
Complete CHANGELOG since 14047c5 in:
GitHub Compare: 14047c5...55b7818
SnarkyJS CHANGELOG
https://github.com/o1-labs/snarkyjs/blob/main/CHANGELOG.md
Installation
Supported environments include macOS, Linux (Debian 10, 11, 12 and Ubuntu 20.04 LTS), and any host machine with Docker.
When installing Mina Archive node, use the following schema files from the release commit:
- https://github.com/MinaProtocol/mina/blob/55b78189c46e1811b8bdb78864cfa95409aeb96a/src/app/archive/create_schema.sql
- https://github.com/MinaProtocol/mina/blob/55b78189c46e1811b8bdb78864cfa95409aeb96a/src/app/archive/zkapp_tables.sql
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.0rampup5-55b7818
- Mina Archive
sudo apt-get install -y mina-archive=2.0.0rampup5-55b7818
- zkApps Test Transaction CLI
sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup5-55b7818
- 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.0rampup5-55b7818-CODENAME-berkeley
- Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0rampup5-55b7818-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: 55b7818
Chain ID: 332c8cc05ba8de9efc23a011f57015d8c9ec96fac81d5d3f7a06969faf4bce92