-
Notifications
You must be signed in to change notification settings - Fork 180
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
[Util] Log verification progress #6834
Conversation
fe827a3
to
deb3491
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v0.37 #6834 +/- ##
==========================================
- Coverage 41.52% 41.52% -0.01%
==========================================
Files 2032 2032
Lines 181510 181519 +9
==========================================
- Hits 75381 75367 -14
- Misses 99896 99918 +22
- Partials 6233 6234 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Nice! I only left a comment about help message being out of sync with delimiter used by the code.
@@ -93,9 +93,9 @@ func run(*cobra.Command, []string) { | |||
} | |||
|
|||
func parseFromTo(fromTo string) (from, to uint64, err error) { | |||
parts := strings.Split(fromTo, "-") | |||
parts := strings.Split(fromTo, "_") |
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.
The from_to
help message and delimiter should match. Currently, the help message uses -
(instead of _
) in examples.
flow-go/cmd/util/cmd/verify_execution_result/cmd.go
Lines 49 to 50 in f7188ad
Cmd.Flags().StringVar(&flagFromTo, "from_to", "", | |
"the height range to verify blocks (inclusive), i.e, 1-1000, 1000-2000, 2000-3000, etc.") |
Log the progress of backward compatibility tests.