Skip to content

Conversation

@zeegomo
Copy link
Contributor

@zeegomo zeegomo commented Aug 25, 2021

Add an Arbitrary implementation for a private VoteTally, which, apart from adding tests for a transaction that was not covered before, also allows us to stress very big (i.e. > 64Kib) payloads.
We may even think of switching to proptest, but it would mean moving out all of the current tests, which is likely to take quite some time.

@mzabaluev
Copy link
Contributor

Looks good, but the tests detect a format discrepancy: "Error: deserialization: Structure invalid: transaction payload is invalid"

@zeegomo
Copy link
Contributor Author

zeegomo commented Aug 31, 2021

Looks good, but the tests detect a format discrepancy: "Error: deserialization: Structure invalid: transaction payload is invalid"

That's the error we were having in production, this branch does not contain the fix for it

@zeegomo
Copy link
Contributor Author

zeegomo commented Dec 13, 2021

This was initially put on hold for #655, but since that is not top priority currently I would suggest we merge this to increase coverage and update the proptest PR when needed cc @eugene-babichenko

@zeegomo zeegomo merged commit f3c4e15 into input-output-hk:master Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants