The O(1) Labs team is proud to announce that 1.3.1alpa1 is ready to test on Devnet! This release includes a set of minor bugfixes, major testing and CI improvements, and code cleanup as we build towards the final 1.3.2 version.
If you run into any issues, please include Release: 1.3.2alpha1 in the name of any issues you create. Please report any issues you encounter here or join the Discussion!
Bug Fixes:
- Ensure backups always occur at midnight #10581
- Make sure demo mode nodes stay alive with no peers #10657
- Fix a double cache invalidation bug in the cachup code #10769
- Fix a crash when blocks are applied to the transition frontier twice #10735
- Fix yojson parsing for Snark_work_recieved logs #10871
- Print "Using password from environment variable" logs when the password is actually used and not always #10865
- Fix the "run local network" script for the latest mina version and add some features #11105 #11221
- Fix generate-keys-and-ledger.sh script #11157
New Features:
- Node status backend RFC #9910
- Log when adding a block #10310
- Cache the state body hashes for blocks to speed up GetTransitionChainProof #10297
- Optimize libp2p/golang message parsing #10299
- Estimate the "gap" when the missing block auditor finds a block missing #10481
- New metrics to track the time a node spends validating messages #10158
- Filter commands when using the replayer #10312
- New file structure used by the Delegation Program Backend #9712
Network Stability Improvements
- Remove validation_callback from blocks type #10684
- Support bitswap block encoding/decoding #10579
- Improve message pipes using a Sink abstraction #9962
- Extract validation logic from External_transition #10780
- Finalize block header / block body split with new module structure #10903
- Pass validation callbacks through the catchup process #10895
Assorted Testing and CI/CD Improvements:
- CI Fixes #10320 #10544 #10733 #10848 #10846 #10876 #11122 #10958
- CI Structural Improvements #10338 #10441 #10582 #10572 #10680 #11113 #11155 #11044
- New Documentation #9667 #9307 #10703 #10884
- New Tests #10325 #9902 #10091 #10650 #10463 #11196
- Nix Support #10570 #10543 #10566 #10568 #10567 #10569 #10942 #10873 #11046 #11050 #11111
- Integration Test Fixes #10188 #10279 #10326 #10614 #10630 #10702 #10758 #10739 #10785 #10827 #10838 #11094
- Dependency Updates #10510 #10630 #10653 #10574 #10762 #10770 #10896 #10946 #10957 #10983 #11045 #11011 #11067 #11175 #11114 #11173
Complete Changelog since 1.3.0:
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.3.2alpha1-ccaa43c
Mina Archive: sudo apt-get install -y mina-archive=1.3.2alpha1-ccaa43c
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 bionic, focal, stretch, buster, or bullseye to select the base docker image.
Mina Daemon: minaprotocol/mina-daemon:1.3.2alpha1-ccaa43c-CODENAME-devnet
Mina Archive: minaprotocol/mina-archive:1.3.2alpha1-ccaa43c-CODENAME
New Mina Archive Schema: create_schema.sql
Mina Rosetta: minaprotocol/mina-rosetta:1.3.2alpha1-ccaa43c-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.3.2alpha1-ccaa43c-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: ccaa43c5a3258444d79cb0293898ee13161dfe87