Skip to content

Ardrive CLI should honour Unix-Time for transactions in the same block #338

@domob1812

Description

@domob1812

I have a public drive (drive ID 045e80ce-ab4f-449c-8548-86ce560e3a4d) which shows a difference when downloaded with the current CLI (version 1.22.0) and the old "sync" CLI. In particular, the file with ID 774e6e74-3d3a-4f48-95e4-ee53b9354e40 has a different name: presentation.pdf in the new CLI, and Talk.pdf in the old.

This file has two metadata transactions on the network:
https://viewblock.io/arweave/tx/frZctZoAbr26-Y6LjZPIcokzBBspWigaKPf20PNplfg
https://viewblock.io/arweave/tx/wLxCGqOBiFF_T2gtMEekR8ixVX0UObMS_YdueB0KnHQ

The first created it with name presentation.pdf, and the second renamed it to Talk.pdf. Both are confirmed in the same block, but the second has a later Unix-Time (I believe I uploaded the file in an old version of the web app and then immediately renamed it without waiting for a confirmation). Thus, I believe it should override the first one, and Talk.pdf should be the correct name (in any case that's the intent).

Note that the (current) web app handles this situation correctly, i.e. the name is also Talk.pdf on there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions