Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pre-Requisites

Install Prerequisites described here: https://github.com/CasperLabs/CasperLabs/blob/dev/docs/BUILD.md#prerequisites

...

Discussion topics

Title

Description

Notes

Attempt to run the node without deleting the state.

Leon didn’t delete his global-state directory, but his node did start syncing blocks from the beginning. We noticed problems with synching state, the node appeared to get stuck at the first 100 sync point. Upon deleting the global state, we observed that the sync happened much faster.

Connect to DevNet

Using the accounts.csv file, generate a genesis block that matches DevNet

Fund accounts

Using Clarity, fund the validator accounts for bonding

Send a bonding request

Using the newly funded account, bond to the DevNet

Send transactions & blocks

Add transactions to the system

  • Medha ran counter-call multiple times.

  • Must specify --payment-amount of 10000000

  • Bonding amount should be less than a 1000000

Verify that your node is bonded

Verify that the node is bonded.

Before state is caught up, Leon & Tom will send a deploy / propose from his node.

Other nodes send deploys / propose at the same time.

Observe the behavior of the other nodes, attempting to process the block.

Observe the justifications.

Observe DAG traversal.

  • The error ‘another propose is in progress’ while the machine is synching. No error when he attempted to deploy. Error showed up when he attempted to propose.

  • Leon’s machine is located in Singapore.

  • When Tom attempted to do so, he got a success message. Tom is on block 600, DevNet is at 750.

  • Tom’s block was added at rank 609 - Medha’s node saw the block and this message in the logs.

  • The block was ignored, along with all the transactions associated with the block were not finalized. The block was orphaned.

  • Code Block
    Received notification about 1 new block(s) from casperlabs://6ace8c39860756280098dece989ae31d2c4539b2@3.16.155.163?protocol=40400&discovery=40404: d73ab0ce66a371db0289f0baea54890bd11609e5c3c1b1a18d021d349dab2930
    2019-11-21 16:19:42,913 [node-runner-24] DEBUG io.casperlabs.casper.MultiParentCasperImpl$StatelessExecutor - Validating the transactions in d73ab0ce66...
    2019-11-21 16:19:42,928 [node-runner-24] DEBUG io.casperlabs.casper.MultiParentCasperImpl$StatelessExecutor - Validating neglection for d73ab0c66...
    2019-11-21 16:19:42,929 [node-runner-24] DEBUG io.casperlabs.casper.MultiParentCasperImpl$StatelessExecutor - Checking equivocation for d73ab0c66...
    2019-11-21 16:19:42,930 [node-runner-24] DEBUG io.casperlabs.casper.MultiParentCasperImpl$StatelessExecutor - Block effects calculated for d73ab0ce66...
    2019-11-21 16:19:42,962 [node-runner-24] INFO  io.casperlabs.casper.MultiParentCasperImpl$StatelessExecutor - Added d73ab0ce66...
    2019-11-21 16:19:42,971 [node-runner-20] DEBUG io.casperlabs.casper.MultiParentCasperImpl - Updating last finalized block after adding d73ab0ce66...
    2019-11-21 16:19:42,972 [node-runner-20] INFO  io.casperlabs.casper.finality.votingmatrix.FinalityDetectorVotingMatrix - The block Block #609 (d73ab0ce66...) -- Sender ID a9cfbc3d93... -- M Parent Hash b15e982143... -- Contents b7b5f8b873...-- Chain Name casperlabs... don't vote any main child of latestFinalizedBlock
    

Perform a token transfer between accounts

Transfer tokens between accounts

  • Create accounts using the transfer function

    • Code Block
      casperlabs-client --host localhost transfer -a amount_to_transfer -t "target_account_in_base64" --private-key path_to_private_key --payment-amount 1
  • Verify the balance

    • Code Block
      casperlabs-client --host localhost balance -a base16accountid -b blockhash

Outcome:

  • Leon is using ULTR VPS provider out of Singapore.

  • Leon experienced the ‘There is another propose in progress’ problem.

  • He didn’t delete the global state directory.

  • He has the right gitHash version.

Action items

Decisions