Skip to content

Database API pattern fixes, some cleanup in all tests

Andrzej Lisak requested to merge database_api_fixes into master

Patterns that had no related tests were removed.

All tests now have .orig.json files containing pattern generated from old 0.23 version (even if it is the same as .pat.json).

Database API patterns (where comparable with current results) updated with acceptable differences:

  • future cashout_time
  • max_cashout_time (no longer relevant)
  • rshares/weight related after first payout but before final (we don't have the event to properly clear them so the differences are a result of us collecting all values where fat node cleared them between payouts - the differences will stop after HF17)
  • last_payout in the same case as above when payout was ineffective (because we have no event to detect such payout)
  • numerical instead of strings for long numbers (I'm not sure why old version did it differently)

Merge request reports