Mainnet Stable Release 1.2.0 #9704
lk86
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As many of you are already aware, we have been working to stablize version 1.2.0 for quite some time. he O(1) Labs Team is proud to announce that 1.2.0 Stable is ready for use in production on Mainnet! 1.2.0 contains a variety of Quality of Life Improvements for node operators, including some new tools, graphql queries, cli commands, metrics, not to mention the countless efforts that went on behind the scenes to keep Mainnet and our team at O(1) Labs running smoothly.
In addition, 1.2.0 includes the client for the proposed update to the Mina Foundation Delegation Program (some further server work is required before the updated program launches, stay tuned for more announcements from the Mina Foundation on this topic). You can test the client implementation and configuration yourself as described below in the New Features section.
New Features:
GraphQL:
pooledUserCommands
query to select transactions by hash or ID, to make it more consistent withtransactionStatus
Accept transactions by ID in pooledUserCommands #8293stagedLedgerProofEmitted
to indicate that a new staged ledger proof was formed Feature: Add stagedLedgerProofEmitted to GraphQL #8658CLI Commands:
already saw this
errors! Allow local re-sending of txns, reset re-broadcast timer when doing so #8973mina advanced vrf
is a set of new advanced commands for generating and evaluating VRF witnesses to prove that your key has won a slot Vrf evaluation commands #8814mina advanced hash-transaction
is a new command for hashing transactions Add hash-transaction advanced command #8294mina ledger export snarked-ledger
is a new command for exporting snarked ledgers with proven balances Export snarked ledger #8844mina client status
if it is set, and adds a new commandmina advanced set-coinbase-reciever
to change the coinbase receiver at runtime Add coinbase receiver to status, allow it to be changed by an advanced command #8127mina advanced chain-id-inputs
is a new command for displaying the inputs to the ChainID Print inputs to chain id #8264mina advanced send-rosetta-transaction
now immediately sends the transaction instead of waiting for the command to exit Dispatch transactions as they come in to send-rosetta-transaction #8186mina accounts
commands now support retrieving/uploading keys and account information over a remote graphQL interface instead of just local files Support local filesystem and rest-server modes foraccounts import
,accounts list
#7282mina ledger export
commands fail Exit with code 1 if there is an error inledger export
#8720--minimum-block-reward
tomina daemon
that allows a block producer to set the minimum net reward from producing a block. minimum block reward #8605Other:
Note: MINA_PRIVKEY_PASS will not be supported until the 1.3.0+ Mina Daemon releases but it won't hurt to start providing it now.
Stability Improvements and Bug Fixes:
Process.run
#9171get_ledger
in sys thread for release #9168--stop-time
flag to configure this behavior update stoppage time #9506Improved Packaging and CI:
snark_keys/gen_keys.exe
, which takes in a config-file and downloads or generates the appropriate artifacts Add support for choosing constraint constants in gen_keys, remove as dep #8554/entrypoints.d/
Refactor Mina dockerfiles entrypoint setup #8263dockerfiles/Dockerfile-deb-builder
which can build complete .deb packages for all mina packagesImprovements to ancillary tools (rosetta, archive-node, sidecar, etc.)
Rosetta:
Libraries:
ppx_version
Bump ppx_version #8435 Update ppx_version #8734Pickles_types
Add Pickles_types.Higher_kinded_poly #8075Archive-node and related tools:
mina-extract-blocks
tool for restoring archive node data from an existing archive node missing_subchain reborn as extract_blocks #8343mina-replayer
improvements Replayer, test db from mainnet #8329 Update epoch ledger handling in replayer #8717 Replayer, don't create epoch ledger if exists #8739 Replayer and delegation compliance, undo bad optimization #8751Delegation Compliance App:
delegation_compliance
#8760 Delegation compliance, simplified #8792 CSV file output for compliance #8873 Delegation compliance, count all blocks in epoch #8884 Delegation compliance, CSV stitching #8923Documentation:
Monitoring, Testing, Alerting:
And 62 separate PRs to improve our monitoring, testing, and alerting infrastructure:
#8077 #8050 #8099 #8241 #8249 #8214 #8216 #8182 #8259 #8300 #8313 #8302 #8328 #8342 #8360 #7842 #8258 #8240 #8237 #8332 #8414 #8427 #8361 #8341 #8458 #8233 #8455 #8530 #8596 #8606 #8535 #8637 #8631 #8645 #8622 #8582 #8691 #8676 #8689 #8640 #8664 #8707 #8688 #8683 #8768 #8752 #8740 #8783 #7884 #8758 #8810 #8861 #8871 #8869 #8850 #8909 #8926 #9222 #9390 #9436 #9408 #9377
Complete Changelog:
Linked below is the full git history between 1.1.5 and 1.1.6alpha2. Split into 4 chunks as github will only display 250 commits at a time:
It may also be useful to read the changes from each alpha and beta release individually to understand how we got to this result:
1.1.6alpha4
1.1.6alpha5
1.2.0alpha1
1.2.0beta1
1.2.0beta2
1.2.0beta4
1.2.0beta5
1.2.0beta8
Upgrading & Connecting
Debian Packages:
From now on builds will be packaged and released to the debian repo based on debian release codenames (
stretch
for Debian 9/Ubuntu 18.04 and soonbuster
for Debian 10 / Ubuntu 20.04), and a release channel (alpha
,beta
,stable
,unstable
).Repository Setup:
To allow for installation of mina
stretch stable
builds:Installation:
Mina Daemon:
sudo apt-get install -y mina-mainnet=1.2.0-fe51f1e
Mina Archive:
sudo apt-get install -y mina-archive=1.2.0-fe51f1e
Mina Generate Keypair:
sudo apt-get install -y mina-generate-keypair=1.2.0-fe51f1e
Archive Node Schema for initializing postgres:
create_schema.sql
Docker Images:
Mina Daemon:
minaprotocol/mina-daemon:1.2.0-fe51f1e-mainnet
Mina Archive:
minaprotocol/mina-archive:1.2.0-fe51f1e
Mina Generate Keypair:
minaprotocol/mina-generate-keypair:1.2.0-fe51f1e
Archive Node Schema for initializing postgres:
create_schema.sql
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.2.0-fe51f1e-devnet
and go!NEW Devnet:
This release is the first to support the newly relaunched Devnet. To use any of the above packages or docker images with devnet instead of mainnet, you can simply replace
mainnet
withdevnet
in either the name of the package or the docker image tag.Block Producer Stats Sidecar:
The block producer sidecar will be replaced with the foundation delegation uptime tracker described above, once the backend verification system is ready. In the meantime any version of the sidecar since ~1.1.6 should work the same way, and the data produced by the sidecar still counts towards foundation delegation elegibility. Stay tuned on Discord for further announcements from Mina Foundation in regards to the Delegation Program.
Questions and Feedback
If you discover any issues or regressions from 1.1.8, please report them so we can look into it. Please include the
mina version
output or 1.2.0 in the issue title/description so we can more easily sort through the issues.For questions and feedback, please go to the #mainnet-block-producers channel on our Discord or comment on the Github Discussion for this release, we're excited to hear about your experience with this new build!
Step by Step Guide:
Check out our documentation for complete instructions on using this version to connect to Mainnet.
If you are running the correct version on the correct network,
mina client status
will show:This discussion was created from the release Mainnet Stable Release 1.2.0.
Beta Was this translation helpful? Give feedback.
All reactions