-
Notifications
You must be signed in to change notification settings - Fork 138
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
test: Add json marshal/unmarshal for test traces #1314
Conversation
14833c3
to
6b984b7
Compare
3015128
to
a519315
Compare
…plain what the files are doing
Assume we add a new |
yeah exactly. I'll draft up a README like that. I'll also put an issue in the backlog to look into setting up a static analyzer that could flag this. From all I can tell, the current solution is unfortunately the best I could find, so supporting it to be more smooth would probably be desirable. EDIT: Added e837330 |
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.
Great work! Thanks for the changes.
Great work @p-offtermatt! See my comments. |
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.
Great work! Added some comments w.r.t boilerplate and maintenance moving forward
Description
Closes: Part of #1265
The PR introduces a trace format that is just a JSON serialization of a step slice. This means it makes use of all the actions we already have.
interchain-security/tests/e2e/trace_handlers_test.go
Line 84 in e2175c2
interchain-security/tests/e2e/json_utils.go
Line 50 in e2175c2
interchain-security/tests/e2e/json_utils.go
Line 403 in e2175c2
To review this...
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...