Compare commits

...

2 Commits

Author SHA1 Message Date
Jim McDonald
d60d8beb0b Bump version. 2022-03-11 14:16:49 +00:00
Jim McDonald
a657b3bc24 Do not show execution payload if empty. 2022-03-11 14:16:09 +00:00
3 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
1.18.1:
- do not show execution payload if empty
1.18.0:
- add "-ssz" option to "block info"
- add "block analyze" command

View File

@@ -530,6 +530,9 @@ func outputBlockExecutionPayload(ctx context.Context,
return "", nil
}
if payload.BlockNumber == 0 {
return "", nil
}
res := strings.Builder{}
res.WriteString("Execution payload:\n")
res.WriteString(" Execution block number: ")

View File

@@ -24,7 +24,7 @@ import (
// ReleaseVersion is the release version of the codebase.
// Usually overridden by tag names when building binaries.
var ReleaseVersion = "local build (latest release 1.18.0)"
var ReleaseVersion = "local build (latest release 1.18.1)"
// versionCmd represents the version command
var versionCmd = &cobra.Command{