Attested node deletion doesn't clean node resolver data #3872
Labels
priority/urgent
Issue is approved and is must be completed in the assigned milestone
Milestone
main
branchCurrently, when the datastore's
DeleteAttestedNode
method is evaluated, It cleans any entry data related to the provided entryID in theattested_node_entries
table, but related node resolver data onnode_resolver_map_entries
remains in the database. Apparently, we have no usage for this data once the attested node entry is deleted, so this data should also be deleted in the process. I wasn't able to find any logical reason in the code to keep this data in the database after node entry deletion, but if there is, I would be happy to know.PS: If we definitely don't have any use for the data that's left behind, I would be happy to act on this fix since it relates to another issue that I'm working on right now (#1836). 😄
The text was updated successfully, but these errors were encountered: