-
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
Use eventId/effectId pair to dedup effects logged content #896
Conversation
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.
Thanks for this contribution which, I think makes our logs better. I want to share my feeling that we might be mixing things a bit between logs and traces. I'm no expert in that but I feel like this begin/end tries to make our logs be usable for traces and maybe at some point we should make things clear between these too concepts.
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.
|
Test Results308 tests - 11 302 ✔️ - 11 22m 32s ⏱️ +57s Results for commit 6d405a7. ± Comparison against base commit df42836. This pull request removes 11 tests.
♻️ This comment has been updated with latest results. |
As I tried to demonstrate and explain here I do think that logs and traces are just one and the same thing seen from 2 different perspectives, eg. instruments for observability of a system, and their difference lies in how they are used. By unifying the producing side we make our system simpler and more consistent as you don't have to put in place 2 similar but slightly different systems to output logs, and output traces, and collect metrics. |
Makes sense! I would love to see it in practice with an actual trace-exploitation tool 👍 |
Just add |
f86c272
to
99fca5a
Compare
99fca5a
to
6d405a7
Compare
A previous PR already introduced the idea of using a unique sequential id for events to reduce duplication in logs. This PR expands on this to handle the
BeginEffect/EndEffect
pairs, using a pair of eventId and sequential effectId to identify effects pairs.