-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CloseTx cost benchmark to tx-cost and similar test suites #322
Conversation
Also move it to `Hydra.Snapshot` and use it in the `Arbitrary ConfirmedSnapshot` instance, which also benefits of higher frequency `ConfirmedSnapshot`.
I like our test suite is steadily growing, I am considering publishing it on our documentation website. |
, fanout | ||
, mt | ||
, h | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
♡ fourmolu 🙄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rea-da-bi-li-ty
(not (isInitialSnapshot snapshot)) | ||
"Close with multi-signed snapshot" | ||
-- TODO: label / classify tx and snapshots to understand test failures | ||
forAll (genCloseTx 3) $ uncurry action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased things. Likely the next PR (from our ensemble work) will address this.
let stInitialized = executeCommits initTx commits stIdle | ||
in action stInitialized (collect stInitialized) | ||
forAllCollectCom action = | ||
forAll (genCollectComTx 3) $ uncurry action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
What bit of it? The testing strategy? |
@ch1bo No, the whole output of tests run. Like we publish benchmarks output, publishing tests output |
No description provided.