-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: rawdb.InspectDatabaseOption
#111
Conversation
I'm happy to write one and PR it upstream too, let me know 😉 |
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.
Let's add a test for the new behavior and remove WithDatabaseStatRecorder if it is unused. Then LGTM
Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Arran Schlosberg <[email protected]>
|
If it's used then let's add the UT |
## Why this should be merged Add an example test for `InspectDatabase` with options. ## How this works See example code
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.
Pre-approving to get this merged 🛥️ !
Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Arran Schlosberg <[email protected]>
Why this should be merged
Allows for
ava-labs/coreth
equivalent modifications ofrawdb.InspectDatabase()
through external logic injection.How this works
Variadic options to:
How this was tested
Testable example acting as a unit test.