Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Write functional system tests for inert exceptions #1966

Closed
4miners opened this issue Apr 27, 2018 · 0 comments
Closed

Write functional system tests for inert exceptions #1966

4miners opened this issue Apr 27, 2018 · 0 comments
Assignees

Comments

@4miners
Copy link
Contributor

4miners commented Apr 27, 2018

Expected behavior

Would be nice to have functional system tests for inert exceptions, scenario:

  • add inert transactions of affected types to execptions (delegate registration, vote)
  • push a block with those transactions
  • check if behavior is as expected (transactions are not applied to mem_accounts and mem_round)
  • forge until end of a round
  • check if behavior is as expected:
    • vote column is updated properly (not affected by those transactions)
    • fees (not including affected transactions) are split correctly to forging delegates (rounds_fees table on 0.9.x, rounds_rewards table on 1.0.0)

Actual behavior

We don't have tests. 😢

Steps to reproduce

N/A

Which version(s) does this affect? (Environment, OS, etc...)

0.9.14, after backporting 0.9.14 also 1.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants