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 14047c5 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 14047c5 in the issue title.
What changed
Bug Fixes
- Fix verification key mismatch in zkapp transactions with non-proof authorization #13394
- Fix the ordering of accounts in zkApp transaction application result impacting scan state hash #13435
- Don’t ban nodes for block created in early catchup #13538
- Fix transaction and snark work rebroadcast #13535
Features
- Remove snark pool persistence #13409
- Crash daemon if stuck in bootstrap for more than 2hrs #13747
- Create network-specific domains for account update hashes #13880
- Add genesis timestamp to genesis constants in GraphQL #14013
Improvements
- Replayer app improvements: #13406 #13460
#13600 #13620 - Improve node boot up time #13470
- Reduce delay in broadcasting produced block #13551
- Improve mempool performance #13560
- Improve block producer performance #13671
- Snark coordinator performance improvement #13950
- Snarky JS - reduce the startup time o1-labs/o1js#1073
Complete CHANGELOG since bfd1009 in:
GitHub Compare: bfd1009...14047c5
SnarkyJS CHANGELOG
https://github.com/o1-labs/snarkyjs/blob/main/CHANGELOG.md
Installation
When installing Mina Archive node, use the following schema files from the release commit:
- https://github.com/MinaProtocol/mina/blob/14047c55517cf3587fc9a6ac55c8f7e80a419571/src/app/archive/create_schema.sql
- https://github.com/MinaProtocol/mina/blob/14047c55517cf3587fc9a6ac55c8f7e80a419571/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 Berkeley Testnet
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.0rampup4-14047c5
- Mina Archive
sudo apt-get install -y mina-archive=2.0.0rampup4-14047c5
- zkApps Test Transaction CLI
sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup4-14047c5
- 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.0rampup4-14047c5-CODENAME-berkeley
- Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0rampup4-14047c5-CODENAME
Step-by-Step Guide
This version connects and functions only on the newly launched Berkeley Testnet.
- 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>
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, the expected output of the mina client status
command is:
Chain id: 3c41383994b87449625df91769dff7b507825c064287d30fada9286f3f1cb15e
Git SHA-1: 14047c5