{"record":{"id":"10af74b158e53ca8","repo":"hyperledger/fabric","slug":"not-implemented-yet","errorCode":null,"errorMessage":"not implemented yet","messagePattern":"not implemented yet","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"common/deliverclient/blocksprovider/delivery_requester.go","lineNumber":99,"sourceCode":"\t\t\t},\n\t\t},\n\t\tStop: &orderer.SeekPosition{\n\t\t\tType: &orderer.SeekPosition_Specified{\n\t\t\t\tSpecified: &orderer.SeekSpecified{\n\t\t\t\t\tNumber: math.MaxUint64,\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tBehavior:    orderer.SeekInfo_BLOCK_UNTIL_READY,\n\t\tContentType: contentType,\n\t}\n}\n\n// SeekInfoNewestHeader produces a signed SeekInfo envelope requesting the newest header (block attestation) available\n// to the orderer. Only a single header is expected in response, not a stream.\nfunc (dr *DeliveryRequester) SeekInfoNewestHeader() (*common.Envelope, error) {\n\t// TODO\n\treturn nil, errors.New(\"not implemented yet\")\n}\n\nfunc (dr *DeliveryRequester) Connect(seekInfoEnv *common.Envelope, endpoint *orderers.Endpoint) (orderer.AtomicBroadcast_DeliverClient, func(), error) {\n\tconn, err := dr.dialer.Dial(endpoint.Address, endpoint.RootCerts)\n\tif err != nil {\n\t\treturn nil, nil, errors.WithMessagef(err, \"could not dial endpoint '%s'\", endpoint.Address)\n\t}\n\n\tctx, ctxCancel := context.WithCancel(context.Background())\n\n\tdeliverClient, err := dr.deliverStreamer.Deliver(ctx, conn)\n\tif err != nil {\n\t\t_ = conn.Close()\n\t\tctxCancel()\n\t\treturn nil, nil, errors.WithMessagef(err, \"could not create deliver client to endpoints '%s'\", endpoint.Address)\n\t}\n\n\terr = deliverClient.Send(seekInfoEnv)","sourceCodeStart":81,"sourceCodeEnd":117,"githubUrl":"https://github.com/hyperledger/fabric/blob/2736b63f8fd5932511d56fe68b7039d15977f7f6/common/deliverclient/blocksprovider/delivery_requester.go#L81-L117","documentation":"Returned by DeliveryRequester.SeekInfoNewestHeader, which is still a stub (marked TODO). Any caller trying to obtain a newest-header attestation envelope from the orderer hits this sentinel error until the feature is implemented.","triggerScenarios":"Thrown at common/deliverclient/blocksprovider/delivery_requester.go:99 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Do not call SeekInfoNewestHeader until it is implemented","Use an existing deliver-based mechanism to fetch the newest block/header"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2736b63f8fd5932511d56fe68b7039d15977f7f6","analyzedAt":"2026-09-04T08:52:36.465Z","contentChangedAt":"2026-09-04T08:52:36.465Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}