-
Notifications
You must be signed in to change notification settings - Fork 84
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
Smoke test with mithril #1252
Smoke test with mithril #1252
Conversation
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 2024-01-17 13:27:45.038161291 UTC Baseline Scenario
Baseline Scenario
|
b6a177e
to
84e22cb
Compare
Calls mithril-client to download and verify cardano-node db snapshots. This is particularly useful for running scenarios on public (test) networks.
This can be used to speed up smoke tests by downloading the latest snapshot and have the cardano-node synchronize less.
This will also delete the cardano-node db/ on the runner to download it fresh from mithril.
84e22cb
to
74c9d60
Compare
, ["--download-dir", dir] | ||
] | ||
where | ||
genesisKeyURLForNetwork = \case |
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.
It would be nice if we can query these url's since I think I saw them change once.
} | ||
deriving stock (Show) | ||
|
||
data PublishOrReuse = Publish | Reuse TxId | ||
deriving stock (Show) | ||
|
||
-- TODO: Provide an option to use mithril aggregated snapshots to bootstrap the testnet | ||
data UseMithril = NotUseMithril | UseMithril |
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.
Maybe NoMithril
or DontUseMithril
?
This keeps the log output of tests clean and consistent with outputs of cardano-node and hydra-node processes.
a959eaa
to
faf3f88
Compare
EOF errors are expected when reading all stdout (when the process exits) and we can safely ignore them.
This makes the test quicker and asserts correct invocation.
2ab830e
to
40d948c
Compare
Adds
--use-mithril
tohydra-cluster
which makes it usemithril-client
to download the cardano network state before startingcardano-node
.Adds
mithril-client
to our development and CI shells.Adds integration tests to ensure that
mithril-client
is invoked correctly on all known networks.A mithril-bootstrapped smoke test run on preview is here: https://github.com/input-output-hk/hydra/actions/runs/7540117340/job/20524247050
Not in scope / moved to red bin: