Skip to content

Testnet Log

Joel Krauska edited this page Mar 4, 2019 · 17 revisions

This page is meant to be a living log of coda testnet deployments, tests and results.


POS Goals for 3/1/2019

  • 5 unique proposers
  • proposers confirm stake shift (moving balances adjusts stake hit rate)
  • proposer goes offline, comes back in x min and picks up
  • each block issues at least 1 transaction (blocks are 75% of slots)
  • no-snarks: pass 10 epochs with k=2 (100x)
  • snarks: pass 10 epochs with k=2 (20x)
  • bonus: <500ms slots working for fastnet testing

Date: 2019-03-04

PoStake ran successfully for 63.86 hours! Passing 39 epochs. Blocks passed 4500.

Consensus Configuration:
    delta = 3
    k = 8
    c = 8
    c_times_k = 64
    slots_per_epoch = 192
    slot_duration = 30000
    epoch_duration = 5760000
    acceptable_network_delay = 90000

Known bug: Would not 'catchup'. (tested late joiners joining when blocks passed was < 2k)


Date: Week of 2019-02-25

  • upload utility to copy test data to GCloud
  • block_wait utility to wait for a given block
  • adjusted transaction.py to TRY to issue a new transaction in every block (works in 30s slots)
  • testing 4-proposer networks
  • late joiner testing fails (can only join if off by <k blocks)

Date: Week of 1/28-2/1/2019

Most work done using closet server.

Alternating between high speed (fast hash, no snark, sub second intervals) and slow speed (full snark, 60s intervals) code bases.

High speed is meant to stress/validate proof of stake, epoch bonadaries, etc.

Slow speed is mean to stress full code.

Current best slow speed: 1460 blocks (~24 hours), gives NTP sync error (bizarre on localhost)


Date: 2019-01-25 Friday

RESOLVED: num_accounts bug NEW: Variable name changes, initial stake testing, stake snark assert crash


Found bug with number_of_accounts tracking

Automated transaction verification for existing and new accounts.


Date: 2019-01-17 Thursday


Date: 2019-01-11 Friday

Wrote some simple wrappers to test/validate transactions (using python wrapper lib)

actual output:

Block Count: 1436
Sending 85 to KLo3BGRsLEtxj3db3DRkd3u2EUPCyrU61XVr86vqu3PmZcfuQfgAAAAB
Running: coda client send-payment -amount 85 -privkey-path /home/jkrauska/testfu/secrets/high -receiver KLo3BGRsLEtxj3db3DRkd3u2EUPCyrU61XVr86vqu3PmZcfuQfgAAAAB
Result: Successfully enqueued payment in pool
Receipt_chain_hash: KG1jZrQVKmaMaFjMdds1ZfvVEAFac/ABmX46yOoDuRaadqJRRjcAAAA=

Previous balance: 50
Expected balance: 135
...
Found: 135
Time Elapsed: 00:01:27
Block Count: 1438

Awesome new CLI output: coda client snark-job-list shows current state of snark pool.


Date: 2019-01-10 Thursday

Ran for over an hour. Added ~20 accounts, no lost transactions.

Observation:

  • ordering in get-public-keys changes when new accounts added. (newest on top) 1429

Fixed:

  • excess uuid ledgerdbs

Remaining:

  • rocksdb dynamic