Skip to content

Conversation

@peterbroadhurst
Copy link
Contributor

In v0.14.0 if you register your org (only), and then call /api/v1/status you receive:

{"error":"FF10277: Identity could not be resolved via DID 'did:firefly:node/zzhc7hdmc0'"}

Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
status.Org.DID = org.DID

node, _, err := or.identity.CachedIdentityLookup(ctx, fmt.Sprintf("%s%s", fftypes.FireFlyNodeDIDPrefix, status.Node.Name))
node, _, err := or.identity.CachedIdentityLookupNilOK(ctx, fmt.Sprintf("%s%s", fftypes.FireFlyNodeDIDPrefix, status.Node.Name))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the key change

@codecov-commenter
Copy link

Codecov Report

Merging #630 (13d6c1e) into main (9cb197a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #630   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          311       311           
  Lines        18838     18842    +4     
=========================================
+ Hits         18838     18842    +4     
Impacted Files Coverage Δ
internal/events/dx_callbacks.go 100.00% <100.00%> (ø)
internal/identity/identitymanager.go 100.00% <100.00%> (ø)
internal/networkmap/data_query.go 100.00% <100.00%> (ø)
internal/networkmap/register_identity.go 100.00% <100.00%> (ø)
internal/orchestrator/status.go 100.00% <100.00%> (ø)
internal/privatemessaging/recipients.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cb197a...13d6c1e. Read the comment docs.

Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
@peterbroadhurst peterbroadhurst merged commit 53ecb34 into hyperledger:main Mar 25, 2022
@peterbroadhurst peterbroadhurst deleted the status-error branch March 25, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants