Skip to content

ipfs dag stat improperly return size of dags that include the same blocks multiple time as different codecs #8794

@Jorropo

Description

@Jorropo

Checklist

Installation method

built from source

Version

v0.12.0

Config

N/A

Description

A dag like this:

Qmfoo -> bafkreibar
Qmfoo -> bafybeibar
bafybeibar -> bafkreibaz

Will count bafkreibar and bafybeibar twice even tho since v0.12.0 and multihash datastore keying it is actually only stored once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions