Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name auctions request by length doesn't show auctions #239

Open
CedrikNikita opened this issue Nov 22, 2019 · 6 comments
Open

Name auctions request by length doesn't show auctions #239

CedrikNikita opened this issue Nov 22, 2019 · 6 comments

Comments

@CedrikNikita
Copy link

CedrikNikita commented Nov 22, 2019

https://testnet.aeternal.io/middleware/names/auctions/hello.chain/info

{"bids":[{"block_height":170139
,"block_hash":"mh_4y98thADJdJchH21dVK2ugcxeikBsA2kDoPWFxQPCCgoiLC7e",
"hash":"th_2BTcJZFZpXKP2Mp57zQhqhh78xpCxe43e5bMbHL74EmoVMWaD",
"signatures":"sg_Liuk1j7dKByjroeCHiw4nLviU8g4CuJZuJGjGSciiRHaGc4TgjvQ4YeRSt9u4LZTCmakyrFWLih5VtAXa3fUrxmCk8Y8h",
"tx_type":"NameClaimTx","tx":{"account_id":"ak_DBjmVoUbHqox8vhUuXLSrJqUZLskQ1Vmmi8jWyg2xH6aS1qTh",
"fee":16540000000000,
"name":"hello.chain",
"name_fee":83204000000000000000,
"name_salt":3315947385604205,
"nonce":2,"type":"NameClaimTx",
"version":2
},
"fee":"16540000000000","size":204}],"info":{"name":"hello.chain",
"expiration":185019,
"winning_bid":"83204000000000000000",
"winning_bidder":"ak_DBjmVoUbHqox8vhUuXLSrJqUZLskQ1Vmmi8jWyg2xH6aS1qTh"}}

Not only on this particular length, but at any
https://testnet.aeternal.io/middleware/names/auctions/active?length=11&limit=5&page=1

[]

It doesn't shown here as well
https://testnet.aeternal.io/auctions

@johnsnewby
Copy link

I see it:

image

@davidyuk
Copy link
Member

Some confusion happened, Nikita can explain better

@davidyuk davidyuk reopened this Nov 25, 2019
@j28
Copy link

j28 commented Nov 25, 2019

@johnsnewby here is the issue:

  1. user claims a name ex. 997997997.chain
  2. name appears in user's active bids
  3. name is not part of the list returned when we query mdw by char length (9)

[the name 997997997.chain should be part of the list returned when querying by char length of 9]

@johnsnewby
Copy link

Ah yes, my implementation does total length, so add 6 to get the correct length

@CedrikNikita
Copy link
Author

mdw

@davidyuk
Copy link
Member

it looks like that there are no any auctions on testnet, is that possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants