Skip to content

Releases: MinaProtocol/mina

Mainnet Stable Release 1.4.1

15 Mar 12:27
Compare
Choose a tag to compare

The O(1) Labs team is proud to announce that 1.4.1 stable is now ready to run on Mainnet! This release includes a set of important bugfixes, improvements as well as code cleanup. This release contains all of of the fixes and improvements prior to the Berkeley Upgrade and users are strongly recommended to upgrade to this latest version before the upgrade commences.

If you run into any issues, please include Release: 1.4.1 in the name of any issues you create. Please report any issues you encounter here or join the Discussion!

Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

What changed

Bug Fixes

  • Disable snark pool persistence and additional daemon performance fixes due to snark pool #13409
  • Fix for long async cycles impacting block production performance #13654
  • Fix for when a slot to start replaying from doesn’t have a block #13765
  • Replayer app fixes: #13401 #13600
  • Archive node: record correct intermediate nonces inside blocks: #13406

Improvements

  • Add a GraphQL query to generate a config file for a hard fork #13787
  • Support larger ledgers in IPC communication #11973
  • Remove memory stats #12904
  • Remove support for bionic and stretch #13657

Complete Changelog since 1.4.0:

1.4.0...1.4.1

Connecting to Mainnet

Debian Packages:

Debian Repository:
First, set up and update the stable Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update

Then, install the package(s) that you need:
Mina Daemon: sudo apt-get install -y mina-mainnet=1.4.1-e76fc1c (for devnet builds, replace mainnet with devnet)
Mina Archive: sudo apt-get install -y mina-archive=1.4.1-e76fc1c
New Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_e76fc1ca.json

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: minaprotocol/mina-daemon:1.4.1-e76fc1c-CODENAME-mainnet (for devnet builds, replace mainnet with devnet)
Mina Archive: minaprotocol/mina-archive:1.4.1-e76fc1c-CODENAME
Mina Archive Schema: create_schema.sql
Mina Rosetta: minaprotocol/mina-rosetta:1.4.1-e76fc1c-CODENAME

Sandbox Node: For testing in an isolated, single-node network without snarks

As of 1.2.0, the demo functionality is built into the standard daemon container, via the environment variable RUN_DEMO=true.
Just docker run -it --name mina-demo -e RUN_DEMO=true minaprotocol/mina-daemon:1.4.1-e76fc1c-CODENAME-mainnet and go!

Step by Step Guide:

Check out our documentation for complete instructions on using this version to connect to Mainnet.
Docker only Make sure to run with --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt or add PEER_LIST_URL=https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt to your .mina-env.

If you are running the correct version on the correct network MAINNET, mina client status will show:

Chain id:     5f704cc0c82e0ed70e873f0893d7e06f148524e3f0bdae2afb02e7819a0c24d1
Git SHA-1:    e76fc1cad3c47390d71add99dcb550b362a9639b

UMT Upgrade Release

01 Mar 00:14
eb0a6d0
Compare
Choose a tag to compare
UMT Upgrade Release Pre-release
Pre-release

❗ This release is only for UMT testing ❗


This is the final release in the UMT testing phase which concludes the execution of the upgrade mechanism. This release marks a new upgraded network with all of the Berkeley functionality
that will feature on Mainnet when subsequently upgraded. This version of the daemon is not compatible with the previous builds and as such it is necessary to either install this on a clean system or to remove the previous builds and artifacts. The steps on how to do this are contained within the release notes.

Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

Removing previous builds

mina client stop
sudo apt remove mina-devnet=1.0.1umt-stop-slot-992168e 
sudo mv /tmp/coda_cache_dir /tmp/coda_cache_dir_bak
sudo mv $HOME/.mina-config $HOME/.mina-config_bak   

Connecting to the UMT network

Debian Packages:

Debian Repository:
First, set up and update the umt Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
sudo echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) umt" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update

Then, install the package(s) that you need:

Mina Daemon: sudo apt-get install --allow-downgrades -y mina-devnet-hardfork=2.0.0umt-hardfork-automation-umt-eb0a6d0
Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=2.0.0umt-hardfork-automation-umt-eb0a6d0
Mina Archive Schema:
create_schema.sql
zkapp_tables.sql
Config File: var/lib/coda/config_eb0a6d00.json

Ledger Verification Tool

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: gcr.io/o1labs-192920/mina-daemon:2.0.0umt-hardfork-automation-umt-eb0a6d0-CODENAME-devnet-hardfork
Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0umt-hardfork-automation-umt-eb0a6d0-CODENAME
Mina Archive Schema:
create_schema.sql
zkapp_tables.sql
Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:2.0.0umt-hardfork-automation-umt-eb0a6d0-CODENAME
Mina Archive Migration Tooling gcr.io/o1labs-192920/mina-archive-berkeley-archive-migration:1.0.0umt-tooling
Mina Archive Migration Documentation https://docs2-git-archivemigration-minadocs.vercel.app/berkeley-upgrade/migrating-archive-database-to-berkeley

Step by Step Guides:


Upgrade Package verification:

Documentation:
https://github.com/MinaProtocol/mina/blob/berkeley/docs/upgrading-to-berkeley.md

Further usage details are documented inside the script itself as its help message: https://github.com/MinaProtocol/mina/blob/berkeley/scripts/mina-verify-packaged-fork-config.

State exported off of pre-upgrade network can be found here:
https://storage.googleapis.com/tmp-hardfork-testing/fork-umt-02-29-2024.json.gz

Mina Archive Node

  1. Start the archive node using the migrated DB. You can migrate your database as instructed in the doc https://docs2-git-archivemigration-minadocs.vercel.app/berkeley-upgrade/migrating-archive-database-to-berkeley using the migration tool gcr.io/o1labs-192920/mina-archive-berkeley-archive-migration:1.0.0umt-tooling

  2. Alternatively you can import the migrated db dump from https://storage.googleapis.com/mina-archive-dumps/o1labs-umt-post

Mina Daemon

This version connects and functions only on the UMT testnet.

  1. 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>
  2. Set the environment variable MINA_LIBP2P_PASS with the password set for the libp2p key pair in the previous step.
  3. Run mina daemon with:
    -libp2p-keypair <path-to-the-key-file> and --peer-list-url https://storage.googleapis.com/o1labs-gitops-infrastructure/o1labs-umt-post-fork-run-1/seeds-o1labs-umt-post-fork-run-1.txt

For more information please refer to the Launching UMT Mina Nodes document provided to those participating in the program.

If you are running the correct version on the correct network, mina client status will show:

Chain id:     ded2784524f624295e63cede1a4ab9348fbcde7160876c4d55f1481b9d3ef542
Git SHA-1:    eb0a6d00675756972f4f22ecaa10532bae601c59

Stop Slot UMT release

27 Feb 21:06
Compare
Choose a tag to compare
Stop Slot UMT release Pre-release
Pre-release

❗ This release is only for UMT testing ❗


This release is the follow on UMT release that specifies the stop slot in the codebase that formally begins the upgrade process.
This is phase 2 in the 3 phase process; the next and final release will bring the start of the new network and as such the new era of functionality.


Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

Connecting to the UMT network

Debian Packages:

Debian Repository:
First, set up and update the umt Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
sudo echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) umt" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update

Then, install the package(s) that you need:

Mina Daemon: sudo apt-get install --allow-downgrades -y mina-devnet=1.0.1umt-stop-slot-992168e
Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=1.0.1umt-stop-slot-992168e
Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_992168e2.json

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: gcr.io/o1labs-192920/mina-daemon:1.0.1umt-stop-slot-992168e-CODENAME-devnet
Mina Archive: gcr.io/o1labs-192920/mina-archive:1.0.1umt-stop-slot-992168e-CODENAME
Mina Archive Schema: create_schema.sql
Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:1.0.1umt-stop-slot-992168e-focal
Mina Archive Migration Tooling gcr.io/o1labs-192920/mina-archive-berkeley-archive-migration:1.0.0umt-tooling
Mina Archive Migration Documentation https://docs2-git-archivemigration-minadocs.vercel.app/berkeley-upgrade/migrating-archive-database-to-berkeley

Step by Step Guide:

Run mina daemon with the following seed list parameter:
--peer-list-url https://storage.googleapis.com/o1labs-gitops-infrastructure/o1labs-umt-pre-fork-run-1/seed-list-o1labs-umt-pre-fork-run-1.txt

For more information please refer to the Launching UMT Mina Nodes document provided to those participating in the program.

If you are running the correct version on the correct network, mina client status will show:

Chain id:     100ef4660dd2f1dc184e5730cc21f5ecfbe2f7b24af237fe049ca425cea6633e
Git SHA-1:    992168e2bfad30ece4358110c695f43fe9b5ebc0

Pre-upgrade UMT release

23 Feb 20:00
2025a73
Compare
Choose a tag to compare
Pre-release

❗ This release is only for UMT testing ❗


Note - it is recommended to use a clean machine/VM for this testing with no other installed mina instances

Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

Connecting to the UMT network

Debian Packages:

Debian Repository:
First, set up and update the umt Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
sudo echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) umt" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update

Then, install the package(s) that you need:

Mina Daemon: sudo apt-get install --allow-downgrades -y mina-devnet=1.0.0umt-2025a73
Mina Archive: sudo apt-get install --allow-downgrades -y mina-archive=1.0.0umt-2025a73
Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_2025a732.json

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: gcr.io/o1labs-192920/mina-daemon:1.0.0umt-2025a73-CODENAME-devnet
Mina Archive: gcr.io/o1labs-192920/mina-archive:1.0.0umt-2025a73-CODENAME
Mina Archive Schema: create_schema.sql
Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:1.0.0umt-2025a73-focal

Step by Step Guide:

Run mina daemon with the following seed list parameter:
--peer-list-url https://storage.googleapis.com/o1labs-gitops-infrastructure/o1labs-umt-pre-fork-run-1/seed-list-o1labs-umt-pre-fork-run-1.txt

For more information please refer to the Launching UMT Mina Nodes document provided to those participating in the program.

If you are running the correct version on the correct network, mina client status will show:

Chain id:     100ef4660dd2f1dc184e5730cc21f5ecfbe2f7b24af237fe049ca425cea6633e
Git SHA-1:    2025a732df43c6735a576aff907252f74cf2ef35

Berkeley RC1

03 Feb 00:40
Compare
Choose a tag to compare
Berkeley RC1 Pre-release
Pre-release

Mina's ecosystem partner, O(1) Labs, is continuously working on improvements to the core protocol and today we are excited to announce a brand new Berkely release candidate 1551e2f that is ready to test on the new and updated Berkeley Testnet!

Please report any issues in the comments on this post or tag any issues you create with 2.0.0berkeley_rc1 and include 2.0.0berkeley_rc1 in the issue title.

What changed

This release is the culmination of numerous fixes and additions developed during our previous TestWorld initiative including new features, RFCs, tests, bug fixes and significant performance enhancements. All of the fixes and improvements from the earlier rampup releases are also included in this release.

  • Stop txn/network after slot feature #14773
  • Don’t timeout if offline or bootstrapping before genesis #14328
  • Batch to_verifiable ledger operations, and fix caching logic #14356
  • Fix protocol version UNIQUE constraint #14363
  • Hard fork protocol version is 2.0 #14416
  • Let discovery step try connections in parallel #14395
  • Feature/verification key update txn version #14407
  • Rename previous_global_slot to genesis_slot in fork config #14271
  • GraphQL change- use explict field to differentiate slot_since_genesis slot_since_hard_fork #14569
  • Configure chain quality grace period for berkeley release #14776
  • Option to limit zkApp Commands Hardcap (Not enabled) #14813
  • Disable zkapp commands implementation (Not enabled) #14880
  • Integrity verification for S3 retrievals #14973

Complete CHANGELOG since 56fa1db in:

GitHub Compare: 56fa1db...1551e2f

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.

Upgrading and Connecting to Berkeley

Debian Packages

First, set up and update the berkeley Debian Repository for your platform.

sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net/ $(lsb_release -cs) berkeley" | sudo tee /etc/apt/sources.list.d/mina-berkeley.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.0berkeley-rc1-1551e2f
  • Mina Archive sudo apt-get install -y mina-archive=2.0.0berkeley-rc1-1551e2f
  • zkApps Test Transaction CLI sudo apt-get install -y mina-zkapp-test-transaction=2.0.0berkeley-rc1-1551e2f
  • 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):

Step-by-Step Guide

This version connects and functions only on the new version of the Berkeley Testnet.

  1. 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>
  2. Set the environment variable MINA_LIBP2P_PASS with the password set for the libp2p key pair in the previous step.
  3. 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:

Git SHA-1: 1551e2faaa246c01636908aabe5f7981715a10f4
Chain ID: fd7d111973bf5a9e3e87384f560fdead2f272589ca00b6d9e357fca9839631da

Full Changelog: 2.0.0rampup8...2.0.0berkeley_rc1

Mainnet Beta Release 1.4.1beta1

06 Mar 21:01
Compare
Choose a tag to compare
Pre-release

The O(1) Labs team is proud to announce that 1.4.1beta1 is now ready to test on Mainnet! This release includes a set of important bugfixes, improvements as well as code cleanup.

If you run into any issues, please include Release: 1.4.1beta1 in the name of any issues you create. Please report any issues you encounter here or join the Discussion!

Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

What changed

Bug Fixes

  • Disable snark pool persistence and additional daemon performance fixes due to snark pool #13409
  • Fix for long async cycles impacting block production performance #13654
  • Fix for when a slot to start replaying from doesn’t have a block #13765
  • Replayer app fixes: #13401 #13600
  • Archive node: record correct intermediate nonces inside blocks: #13406

Improvements

  • Add a GraphQL query to generate a config file for a hard fork #13787
  • Support larger ledgers in IPC communication #11973
  • Remove memory stats #12904
  • Remove support for bionic and stretch #13657

Complete Changelog since 1.4.0:

1.4.0...1.4.1beta1

Connecting to Mainnet

Debian Packages:

Debian Repository:
First, set up and update the beta Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) beta" | sudo tee /etc/apt/sources.list.d/mina-beta.list
sudo apt-get update

Then, install the package(s) that you need:
Mina Daemon: sudo apt-get install -y mina-mainnet=1.4.1beta1-6e8121c
Mina Archive: sudo apt-get install -y mina-archive=1.4.1beta1-6e8121c
New Mina Archive Schema: create_schema.sql

Docker Images:

Mina Daemon: minaprotocol/mina-daemon:1.4.1beta1-6e8121c-focal-mainnet
Mina Archive: minaprotocol/mina-archive:1.4.1beta1-6e8121c-focal

Sandbox Node: For testing in an isolated, single-node network without snarks

As of 1.2.0, the demo functionality is built into the standard daemon container, via the environment variable RUN_DEMO=true.
Just docker run -it --name mina-demo -e RUN_DEMO=true minaprotocol/mina-daemon:1.4.1beta1-6e8121c-CODENAME-mainnet and go!

Step by Step Guide:

Check out our documentation for complete instructions on using this version to connect to Mainnet.
Docker only Make sure to run with --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt or add PEER_LIST_URL=https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt to your .mina-env.

If you are running the correct version on the correct network MAINNET, mina client status will show:

Chain id:     5f704cc0c82e0ed70e873f0893d7e06f148524e3f0bdae2afb02e7819a0c24d1
Git SHA-1:    6e8121c52d07d5d59c626e293525871ca63d2336

Berkeley Testnet Release 2.0.0rampup8 (ITN RC4)

12 Jan 00:16
56fa1db
Compare
Choose a tag to compare

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 56fa1db 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 Testworld-2-0-protocol-performance-testing and include ITN RC4 in the issue title.

What changed

This release focuses on bug fixes & improvements implemented based on current findings from the Testworld initiative.

⚠️ scripts assumes certain location from which is executed (namely database localhost), If location is different, script may need editing in order to successfully connect to database

run produced scripts in correct order:
psql -U [USERNAME] [DATABASE] < zkapp_precondition_script.sql
psql -U [USERNAME] [DATABASE] < zkapp_update_body_script.sql

**Download update schema script **
add_constraint.sql

psql -U [USERNAME] [DATABASE] < add_constraint.sql

  • Fix/archive db add indexes #14792
    Download script

    add_indexes_script

    To optimize the archiving of max cost zkapps; please run the following script:
    psql -U [USERNAME] [DATABASE] < add_indexes.sql

⚠️ Creating indexes can take up to several hours. This is normal behavior. In order to track progress of index creation you can utilize below command:

SELECT
  t.tablename,
  indexname,
  c.reltuples AS num_rows,
  pg_size_pretty(pg_relation_size(quote_ident(t.tablename)::text)) AS table_size,
  pg_size_pretty(pg_relation_size(quote_ident(indexrelname)::text)) AS index_size,
  CASE WHEN indisunique THEN 'Y'
    ELSE 'N'
  END AS UNIQUE,
  idx_scan AS number_of_scans,
  idx_tup_read AS tuples_read,
  idx_tup_fetch AS tuples_fetched
FROM pg_tables t
  LEFT OUTER JOIN pg_class c ON t.tablename=c.relname
  LEFT OUTER JOIN
    ( SELECT c.relname AS ctablename, ipg.relname AS indexname, x.indnatts AS number_of_columns, idx_scan, idx_tup_read, idx_tup_fetch, indexrelname, indisunique FROM pg_index x
      JOIN pg_class c ON c.oid = x.indrelid
      JOIN pg_class ipg ON ipg.oid = x.indexrelid
      JOIN pg_stat_all_indexes psai ON x.indexrelid = psai.indexrelid )
    AS foo
  ON t.tablename = foo.ctablename
WHERE t.schemaname='public'
AND indexname like 'idx_zkapp_%_element_ids';
  • Adding the ability to soft-cap #14644

  • Support setting zkapp limit in orchestrator #14818

  • add timing log to check_database #14667

  • batch insertion events in archive database #14779

  • o1trace/trace-tool revival #14811

  • Handle inability to contact metrics server on forwarding #14505

  • Child_processes: ensure stderr/stdout get flushed #14696

  • Fix genesis ledger directory growing in size #14819

  • Reset feature flags before assertion #14402

  • Fix parsing of URLs #14809

Complete CHANGELOG since 4a0fff9 in:

GitHub Compare: 4a0fff9...56fa1db

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.

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.0rampup8-56fa1db
  • Mina Archive sudo apt-get install -y mina-archive=2.0.0rampup8-56fa1db
  • zkApps Test Transaction CLI sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup8-56fa1db
  • 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):

Step-by-Step Guide

This version connects and functions only on the newly launched Testworld 2.0.

  1. 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>
  2. Set the environment variable MINA_LIBP2P_PASS with the password set for the libp2p key pair in the previous step.
  3. Run mina daemon with:
    -libp2p-keypair <path-to-the-key-file> and --peer-list-url https://storage.googleapis.com/seed-lists/testworld-2-0_seeds.txt and --itn-max-logs 10000

For more detailed information please check out our Testworld documentation.

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: 56fa1dbcc36aa638c84cdc624adc407075a088a2
Chain ID: 332c8cc05ba8de9efc23a011f57015d8c9ec96fac81d5d3f7a06969faf4bce92

Full Changelog: 2.0.0rampup7...2.0.0rampup8

Devnet Pre-Release 1.4.1alpha1

23 Jan 10:56
Compare
Choose a tag to compare
Pre-release

The O(1) Labs team is proud to announce that 1.4.1alpha1 is ready to test on Devnet! This release includes a set of important bugfixes, improvements as well as code cleanup.

If you run into any issues, please include Release: 1.4.1alpha1 in the name of any issues you create. Please report any issues you encounter here or join the Discussion!

What changed

Bug Fixes

  • Disable snark pool persistence and additional daemon performance fixes due to snark pool #13409
  • Fix for long async cycles impacting block production performance #13654
  • Fix for when a slot to start replaying from doesn’t have a block #13765
  • Replayer app fixes: #13406 #13401 #13600

Improvements

  • Add a GraphQL query to generate a config file for a hard fork #13787
  • Support larger ledgers in IPC communication #11973
  • Remove memory stats #12904
  • Remove support for bionic and stretch #13657

Complete Changelog since 1.4.0:

1.4.0...1.4.1alpha1

Upgrading & Connecting to Devnet

Debian Packages:

Debian Repository:
First, set up and update the alpha Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) alpha" | sudo tee /etc/apt/sources.list.d/mina-alpha.list
sudo apt-get update

Then, install the package(s) that you need:
Mina Daemon: sudo apt-get install -y mina-devnet=1.4.1alpha1-3f42da6
Mina Archive: sudo apt-get install -y mina-archive=1.4.1alpha1-3f42da6
New Mina Archive Schema: create_schema.sql

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: minaprotocol/mina-daemon:1.4.1alpha1-3f42da6-CODENAME-devnet
Mina Archive: minaprotocol/mina-archive:1.4.1alpha1-3f42da6-CODENAME

Sandbox Node: For testing in an isolated, single-node network without snarks

As of 1.2.0, the demo functionality is built into the standard daemon container, via the environment variable RUN_DEMO=true.
Just docker run -it --name mina-demo -e RUN_DEMO=true minaprotocol/mina-daemon:1.4.1alpha1-3f42da6-CODENAME-devnet and go!

Step by Step Guide:

Check out our documentation for complete instructions on using this version to connect to Devnet.
Docker only Make sure to run with --peer-list-url https://storage.googleapis.com/seed-lists/devnet_seeds.txt. or add PEER_LIST_URL=https://storage.googleapis.com/seed-lists/devnet_seeds.txt to your .mina-env.

If you are running the correct version on the correct network DEVNET, mina client status will show:

Chain id:     b6ee40d336f4cc3f33c1cc04dee7618eb8e556664c2b2d82ad4676b512a82418
Git SHA-1:    3f42da6683ed6bc17d00ff3158e2e68ad9df11c3

Berkeley Testnet Release 2.0.0rampup7 (ITN RC3)

13 Dec 16:05
Compare
Choose a tag to compare

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 4a0fff9 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 Testworld-2-0-protocol-performance-testing and include ITN RC3 in the issue title.

What changed

This release focuses on bug fixes & improvements that bring significant efficiency, performance and stability gains that we are excited to share with you.

Bug Fixes
  • Base58Check for receipt chain hashes in account preconditions #14418
  • Format last_vrf_output as Base64 #14462
  • Function to preserve sign for 0 #14459
  • Generate script to patch receipt chain hashes and last VRF output #14419
  • Use generated field name for subchain queries in extract_blocks #14422
  • Optimization: More memory-efficient scan state and staged ledger hashing #14524
  • Fix libp2p helper concurrent writes by #14467
  • support ci on forks #14596
  • [rampup] Batch merkle path database accesses #14513
  • Optimization: Avoid duplicating proofs during txn verification #14525
  • Porting CI fixes from develop and berkeley #14638
  • Field: More efficient conversion into Bignum_bigint.t #14599
  • Batch account location lookups for sparse ledger #14522
  • Batch merkle_path lookups in Sparse_ledger #14528
  • Replace tables with maps in merkle masks #14595
  • Use 'wide merkle paths' to optimize Sparse_ledger.of_ledger_subset_exn #14594
  • Avoid ledger copy and mutation in Sparse_ledger.of_ledger_subset_exn #14587
  • Allow merkle masks to handle empty accounts directly #14585
  • Preload accounts into merkle path for staged ledger diff application #14571
  • Performance improvement: fetch merkle paths from masks instead of disk #14570
  • Batch account lookups for sparse ledger creation #14527
  • Avoid slowdown when using multiple masks #14617

Complete CHANGELOG since 4061884 in:

GitHub Compare: 4061884...4a0fff9

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

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.0rampup7-4a0fff9
  • Mina Archive sudo apt-get install -y mina-archive=2.0.0rampup7-4a0fff9
  • zkApps Test Transaction CLI sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup7-4a0fff9
  • 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):

Step-by-Step Guide

This version connects and functions only on the newly launched Testworld 2.0.

  1. 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>
  2. Set the environment variable MINA_LIBP2P_PASS with the password set for the libp2p key pair in the previous step.
  3. Run mina daemon with:
    -libp2p-keypair <path-to-the-key-file> and --peer-list-url https://storage.googleapis.com/seed-lists/testworld-2-0_seeds.txt and --itn-max-logs 10000

For more detailed information please check out our Testworld documentation.

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: 4a0fff9a2966d14b7a1c0ec00785cea9096b5341
Chain ID: 332c8cc05ba8de9efc23a011f57015d8c9ec96fac81d5d3f7a06969faf4bce92

Full Changelog: 2.0.0rampup6...2.0.0rampup7

Berkeley Testnet Release 2.0.0rampup6 (ITN RC2)

20 Oct 17:56
Compare
Choose a tag to compare

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):

Step-by-Step Guide

This version connects and functions only on the newly launched Testworld 2.0.

  1. 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>
  2. Set the environment variable MINA_LIBP2P_PASS with the password set for the libp2p key pair in the previous step.
  3. Run mina daemon with:
    -libp2p-keypair <path-to-the-key-file> and https://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