ArweaveTeam / testweave-docker

MIT License
45 stars 13 forks source link

Unable to search for transactions by custom tags #8

Open bthj opened 3 years ago

bthj commented 3 years ago

After submitting transactions with several custom tags, I'm only able to retrieve the txs with a query for the App-Name tag:

query {
      transactions(    
  tags:  [
    {
      name:  "App-Name",
      values:  [
        "My app"
      ]
    }
  ],
  ...

but trying any other tag, such as version, no txs are returned:

query {
      transactions(    
  tags:  [
    {
      name:  "version",
      values:  [
        "0.0.1"
      ]
    }
  ],
  ...

Retrieving one of the transactions directly with an URL like: http://localhost:1984/tx/{tx-id}/tags confirms that the tags are indeed persisted (showing the keys and values Base64 encoded).

kespinola commented 3 years ago

Confirming this bug. I have a thread going in discord on the topic.

https://discordapp.com/channels/357957786904166400/817766991799648286/862038750891999263