hyperledger/fabric · error

not implemented yet

Error message

not implemented yet

What it means

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.

Source

Thrown at common/deliverclient/blocksprovider/delivery_requester.go:99

			},
		},
		Stop: &orderer.SeekPosition{
			Type: &orderer.SeekPosition_Specified{
				Specified: &orderer.SeekSpecified{
					Number: math.MaxUint64,
				},
			},
		},
		Behavior:    orderer.SeekInfo_BLOCK_UNTIL_READY,
		ContentType: contentType,
	}
}

// SeekInfoNewestHeader produces a signed SeekInfo envelope requesting the newest header (block attestation) available
// to the orderer. Only a single header is expected in response, not a stream.
func (dr *DeliveryRequester) SeekInfoNewestHeader() (*common.Envelope, error) {
	// TODO
	return nil, errors.New("not implemented yet")
}

func (dr *DeliveryRequester) Connect(seekInfoEnv *common.Envelope, endpoint *orderers.Endpoint) (orderer.AtomicBroadcast_DeliverClient, func(), error) {
	conn, err := dr.dialer.Dial(endpoint.Address, endpoint.RootCerts)
	if err != nil {
		return nil, nil, errors.WithMessagef(err, "could not dial endpoint '%s'", endpoint.Address)
	}

	ctx, ctxCancel := context.WithCancel(context.Background())

	deliverClient, err := dr.deliverStreamer.Deliver(ctx, conn)
	if err != nil {
		_ = conn.Close()
		ctxCancel()
		return nil, nil, errors.WithMessagef(err, "could not create deliver client to endpoints '%s'", endpoint.Address)
	}

	err = deliverClient.Send(seekInfoEnv)

View on GitHub (pinned to 2736b63f8f)

Solutions

  1. Do not call SeekInfoNewestHeader until it is implemented
  2. Use an existing deliver-based mechanism to fetch the newest block/header
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at common/deliverclient/blocksprovider/delivery_requester.go:99 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hyperledger/fabric@2736b63f8f (2026-09-04). Data as JSON: /api/errors/10af74b158e53ca8. Report an issue: GitHub.