lbryio / lbryio/hub

"fee" parameter misbehaving

Open
#59 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15
Forks
16
PR merge metrics
No merged PRs in 30d

Description

How to reproduce (July 11, spv19, the channel is probably not important):

```
$ lbrynet claim search --channel=@DistributedBarbecue:3 --fee_amount=0 | grep total_it
"total_items": 4,
$ lbrynet claim search --channel=@DistributedBarbecue:3 | grep total_it
"total_items": 13,
$ lbrynet claim search --channel=@DistributedBarbecue:3 --fee_currency=LBC | grep total_it
"total_items": 0,
$ lbrynet claim search --channel=@DistributedBarbecue:3 --fee_amount=">=0" | grep total_it
"total_items": 4,
$ lbrynet claim search --channel=@DistributedBarbecue:3 --fee_amount="<0" | grep total_it
"total_items": 0,

```

Looks like reposts are gone? Not sure if only reposts are affected

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproduced lbrynet claim search commands and compare the total_items results for fee_amount, fee_currency, and the >=0 and <0 filters. Trace the claim search fee filtering and repost handling, then verify that each filter returns the expected claims without losing reposts.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.