Lint: Fix violations of non-constant format string in call (#14974)

* Fix violations of non-constant format string in call

* Changelog fragment
This commit is contained in:
Preston Van Loon
2025-02-21 13:46:19 -06:00
committed by GitHub
parent 9bceaa59d2
commit 014dbd5c3a
18 changed files with 35 additions and 45 deletions

View File

@@ -361,7 +361,7 @@ func readChunkedBlobSidecar(stream network.Stream, encoding encoder.NetworkEncod
v, found := ctxMap[bytesutil.ToBytes4(ctxb)]
if !found {
return b, errors.Wrapf(errBlobUnmarshal, fmt.Sprintf("unrecognized fork digest %#x", ctxb))
return b, errors.Wrapf(errBlobUnmarshal, "unrecognized fork digest %#x", ctxb)
}
// Only deneb and electra are supported at this time, because we lack a fork-spanning interface/union type for blobs.
// In electra, there's no changes to blob type.