-
Notifications
You must be signed in to change notification settings - Fork 86
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
Create a hydra-plutus-extras package #1016
Conversation
import qualified Prelude | ||
|
||
-- TODO: DRY with hydra-plutus |
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.
This is the purpose of this PR
02dcd64
to
b85017f
Compare
Test Results358 tests - 3 353 ✔️ - 3 17m 54s ⏱️ + 1m 16s Results for commit 1d5901a. ± Comparison against base commit e12cfc6. This pull request removes 3 tests.
♻️ This comment has been updated with latest results. |
Transactions CostsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
Cost of Init Transaction
Cost of Commit TransactionThis is using ada-only outputs for better comparability.
Cost of CollectCom Transaction
Cost of Close Transaction
Cost of Contest Transaction
Cost of Abort TransactionSome variation because of random mixture of still initial and already committed outputs.
Cost of FanOut TransactionInvolves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
End-To-End Benchmark ResultsThis page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes. Generated at 2023-08-14 15:19:47.220804155 UTC 3-nodes ScenarioA rather typical setup, with 3 nodes forming a Hydra head.
Baseline ScenarioThis scenario represents a minimal case and as such is a good baseline against which to assess the overhead introduced by more complex setups. There is a single hydra-node d with a single client submitting single input and single output transactions with a constant UTxO set of 1.
|
b5cef79
to
ad9ad7c
Compare
ad9ad7c
to
d5389e9
Compare
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.
LGTM. Only suggestion would be to minimise the impact of the change by keeping things under Plutus.X
namespace as this seems innocuous to me
This allows better re-use of the utilities to wrap up validators and the time conversion functions. The Hydra.Plutus.Orphans is deliberately not called Hydra.Plutus.Extras.Orphans to not suggest it being re-exported through Hydra.Plutus.Extras
d5389e9
to
1d5901a
Compare
This allows better re-use of the utilities to wrap up validators and the time conversion functions.
The Hydra.Plutus.Orphans is deliberately not called Hydra.Plutus.Extras.Orphans to not suggest it being re-exported through Hydra.Plutus.Extras