Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1737

Load script can't re-use payment addresses for the same client in case of load with 'payment' txns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Complete
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.79
    • Component/s: None
    • Labels:
      None
    • Documentation Impact:
      Unset
    • Sprint:
      Ev 18.20, Ev 18.21

      Description

      Environment:
      indy-node 1.6.614
      libindy 1.6.6~759
      load script 1.0.3, 1.0.5

      Steps to Reproduce:
      1. Run load test with payments (with fees):

      perf_processes.py -g ~/live_transactions_genesis -m t -n 1 -y freeflow -s 000000000000000000000000Trustee1 -s 000000000000000000000000Trustee2 -s 000000000000000000000000Trustee3 -s 000000000000000000000000Trustee4 --ext "{\"payment_addrs_count\":100,\"addr_mint_limit\":1000000,\"payment_method\":\"sov\",\"plugin_lib\":\"libsovtoken.so\",\"plugin_init\":\"sovtoken_init\",\"trustees_num\":4,\"set_fees\":{\"1\":1,\"100\":1,\"101\":1,\"102\":1,\"113\":1,\"10001\":1}}" -k payment -c 5 -b 1 -l 1

      => (payment_addrs_count * -c = 500) txns written, after that only 'Cannot generate request since no req data are available.' errors appear.
      2. Run the same load with NYMs (with fees):

      perf_processes.py -g ~/live_transactions_genesis -m t -n 1 -y freeflow -s 000000000000000000000000Trustee1 -s 000000000000000
      000000000Trustee2 -s 000000000000000000000000Trustee3 -s 000000000000000000000000Trustee4 --ext "{\"payment_addrs_count\":100,\"addr_mint_l
      imit\":1000000,\"payment_method\":\"sov\",\"plugin_lib\":\"libsovtoken.so\",\"plugin_init\":\"sovtoken_init\",\"trustees_num\":4,\"set_fees
      \":{\"1\":1,\"100\":1,\"101\":1,\"102\":1,\"113\":1,\"10001\":1}}" -k nym -c 5 -b 1 -l 1

      => more than (payment_addrs_count * -c = 500) txns were successfully written.

      Actual Results:
      Load script can't re-use payment addresses in case of load with 'payment' txns.

      Expected Results:
      Load script should re-use payment addresses independently on txns types.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              NataliaDracheva Natalia Dracheva
              Reporter:
              ozheregelya Olga Zheregelya
              Watchers:
              Andrew Nikitin, Dmitry Surnin, Natalia Dracheva, Olga Zheregelya
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: