You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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';
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:
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> and --peer-list-url https://storage.googleapis.com/seed-lists/testworld-2-0_seeds.txt and --itn-max-logs 10000
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 includeITN RC4
in the issue title.What changed
This release focuses on bug fixes & improvements implemented based on current findings from the Testworld initiative.
Fix duplicated rows in zkapp_account_precondition table Fix duplicated rows in zkapp_account_precondition table #14785
Download script
remove_duplicated_zkapp_account_precondition_rows.sh
Generate sql scripts:
run
remove_duplicated_zkapp_account_precondition_rows.sh {schema}
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 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
Adding the ability to soft-cap Soft limit zkApp commands per block #14644
Support setting zkapp limit in orchestrator Support setting zkapp limit in orchestrator #14818
add timing log to check_database add timing log to
check_database
#14667batch insertion events in archive database batch insertion events in archive database #14779
o1trace/trace-tool revival o1trace/trace-tool revival #14811
Handle inability to contact metrics server on forwarding Handle inability to contact metrics server on forwarding #14505
Child_processes: ensure stderr/stdout get flushed Child_processes: ensure stderr/stdout get flushed #14696
Fix genesis ledger directory growing in size Rampup port: Fix genesis ledger directory growing in size #14819
Reset feature flags before assertion Reset feature flags before assertion #14402
Fix parsing of URLs 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
, orbullseye
), and run:Then, install the package or packages that you need:
sudo apt-get install -y mina-berkeley=2.0.0rampup8-56fa1db
sudo apt-get install -y mina-archive=2.0.0rampup8-56fa1db
sudo apt-get install -y mina-zkapp-test-transaction=2.0.0rampup8-56fa1db
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
, orbullseye
):Step-by-Step Guide
This version connects and functions only on the newly launched Testworld 2.0.
mina libp2p generate-keypair -privkey-path <path-to-the-key-file>
MINA_LIBP2P_PASS
with the password set for the libp2p key pair in the previous step.-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:Full Changelog: 2.0.0rampup7...2.0.0rampup8
This discussion was created from the release Berkeley Testnet Release 2.0.0rampup8 (ITN RC4).
Beta Was this translation helpful? Give feedback.
All reactions