tezos-reward-distributor-organization / tezos-reward-distributor

Tezos Reward Distributor (TRD): A reward distribution software for tezos bakers.
https://tezos-reward-distributor-organization.github.io/tezos-reward-distributor/
GNU General Public License v3.0
87 stars 50 forks source link

Retry Injected - Dry-run double counts some values? #592

Open baketzforme opened 2 years ago

baketzforme commented 2 years ago

Describe the bug When retrying transactions that were injected but ultimately failed, dry-run mode appears to double count some of the values.

To Reproduce Steps to reproduce the behavior:

  1. Copy cycle.csv file with failed injections to simulations/tz.../payments/failed/
  2. Run TRD with -inj -D flags to retry failed payments in dry-run mode
  3. Observe output, many values are twice what they should be in non-dry-run.

Expected behavior Values shown should match what actually happens when doing a non-dry-run payment.