Update mapping process + Cardano mapping info #137
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions:
Description
Updated Cardano cluster information, so that it uses (unique) pool hashes as keys.
Also updated Cardano identifier processing, so that it doesn't store duplicate tickers (which can lead to false attribution)
In the process, I also made some improvements to the mapping classes, so that the mapping method is reported more accurately (now the options are 'known_identifiers', 'known_addresses', 'known_clusters', 'known_legal_links', 'fallback_mapping') and updated the documentation and tests accordingly.
Note that the reason why I changed some values in the end_to_end test is because of the additional cluster info we now have on Cardano, which changes the distribution of blocks to entities (now there is one entity that produces two blocks in the sample file). In general, I believe the tests shouldn't be based on these files, but this is sth we can address in the future.
Resolves #135
Checklist
Update Mapping Support Information Submissions: