Skip to content

Instantly share code, notes, and snippets.

View bijanshahrokhi's full-sized avatar

Bijan bijanshahrokhi

View GitHub Profile
The Mina client has the ability to export logs to a tar archive, which can be attached to Github issues.
There are two versions, one which requires a running daemon, the other can be run without a daemon,
after a crash, for instance. Run `coda client export-logs -help` or `coda client export-local-logs -help`
for details.
Example usage:
$ coda.exe client export-logs
Exported logs to /home/myaccount/.coda-config/exported_logs/2020-11-19_22-23-33.tgz

Note: Only public addresses listed in this doc have received public qanet tokens in this round of testing. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

  1. Run the following commands on a Debian:stretch image
  2. sudo apt-get update
  3. sudo apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | sudo tee /etc/apt/sources.list.d/coda.list
  5. sudo apt-get update
  6. sudo apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-pre-release-blocktime-increase-db1ee8b --allow-downgrades
  7. wget -O ~/daemon.json https://raw.githubusercontent.com/MinaProtocol/coda-automation/8abe3425a44d3eb766f8ef8cc8e8479e7472f9a3/terraform/testnets/pickles-public/genesis_ledger.json The "genesis_state_timestamp" on line 2 of ~/daemon.json should read "2020-10-31T04:59:42Z".
  8. export KEYPATH= where `` is the full path to your private k

Note: If you haven't already added your qanet public address to our Google Sheet, please go ahead and add it using the link below. Only public addresses listed in this doc will receive public qanet tokens for testing. If you added your public address while a public qanet is running, you will have to wait until the next release to receive your tokens. Alternatively, you can ask the community members in the qa-task-force channel to send you some tokens now. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

  1. Run the following commands on a Debian:stretch image
  2. sudo apt-get update
  3. sudo apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | sudo tee /etc/apt/sources.list.d/coda.list
  5. sudo apt-get update
  6. sudo apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-qa-net-10-24-2020-6dc573d --allow-downgrades
  7. `wget -O ~/daemon
@bijanshahrokhi
bijanshahrokhi / qa-steps.md
Last active October 25, 2020 18:33 — forked from lk86/qa-steps.md

Note: If you haven't already added your qanet public address to our Google Sheet, please go ahead and add it using the link below. Only public addresses listed in this doc will receive public qanet tokens for testing. If you added your public address while a public qanet is running, you will have to wait until the next release to receive your tokens. Alternatively, you can ask the community members in the qa-task-force channel to send you some tokens now. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

  1. Run the following commands on a Debian:stretch image
  2. sudo apt-get update
  3. sudo apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | sudo tee /etc/apt/sources.list.d/coda.list
  5. sudo apt-get update
  6. sudo apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-develop-2847b2c --allow-downgrades
  7. `wget -O ~/daemon.json http
@bijanshahrokhi
bijanshahrokhi / qa-steps.md
Last active October 22, 2020 03:12 — forked from lk86/qa-steps.md

Note: If you haven't already added your qanet public address to our Google Sheet, please go ahead and add it using the link below. Only public addresses listed in this doc will receive public qanet tokens for testing. If you added your public address while a public qanet is running, you will have to wait until the next release to receive your tokens. Alternatively, you can ask the community members in the qa-task-force channel to send you some tokens now. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

  1. Run the following commands on a Debian:stretch image
  2. sudo apt-get update
  3. sudo apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | sudo tee /etc/apt/sources.list.d/coda.list
  5. sudo apt-get update
  6. sudo apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-qa-branch-block-production-fixes-723cd47 --allow-downgrades
  7. `w
@bijanshahrokhi
bijanshahrokhi / qa-steps.md
Last active October 18, 2020 23:53 — forked from es92/qa-steps.md
  1. Run the following commands on a Debian:stretch image
  2. apt-get update
  3. apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | tee /etc/apt/sources.list.d/coda.list
  5. apt-get update
  6. apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-qa-branch-block-production-fixes-723cd47 --allow-downgrades
  7. wget -O ~/daemon.json https://gist.githubusercontent.com/es92/7b473944528968b067725b6ef319abc4/raw/870ca575c60b6983e759e6f47b6ae1fe10371814/daemon-10-17-2020.json
  8. coda daemon -peer /dns4/seed-two.pickles-public.o1test.net/tcp/10001/p2p/12D3KooWFcGGeUmbmCNq51NBdGvCWjiyefdNZbDXADMK5CDwNRm5/ -peer /dns4/35.237.193.100/tcp/10001/p2p/12D3KooWAFFq2yEQFFzhU5dt64AWqawRuomG9hL8rSmm5vxhAsgr -config-file ~/daemon.json -generate-genesis-proof true -log-json -log-level Trace | coda-logproc | tee ~/coda-log.txt
  9. Send us logs shortly after connecting (~1hr) and after the node has been running a while (~24hr) if you
  1. Run the following commands on a Debian:stretch image
  2. apt-get update
  3. apt-get install -y apt-transport-https ca-certificates
  4. echo "deb [trusted=yes] http://packages.o1test.net unstable main" | tee /etc/apt/sources.list.d/coda.list
  5. apt-get update
  6. apt-get install -y curl coda-testnet-postake-medium-curves=0.0.16-beta7+-qa-branch-block-production-fixes-723cd47 --allow-downgrades
  7. wget -O ~/daemon.json https://gist.githubusercontent.com/es92/7b473944528968b067725b6ef319abc4/raw/870ca575c60b6983e759e6f47b6ae1fe10371814/daemon-10-17-2020.json
  8. coda daemon -peer /dns4/seed-two.pickles-public.o1test.net/tcp/10001/p2p/12D3KooWFcGGeUmbmCNq51NBdGvCWjiyefdNZbDXADMK5CDwNRm5/ -peer /dns4/35.237.193.100/tcp/10001/p2p/12D3KooWAFFq2yEQFFzhU5dt64AWqawRuomG9hL8rSmm5vxhAsgr -config-file ~/daemon.json -generate-genesis-proof true -log-json -log-level Trace | coda-logproc | tee ~/coda-log.txt
  9. Send us logs shortly after connecting (~1hr) and after the node has been running a while (~24hr) if you