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

ListNftTemplate missing owner, paging info #72

Open
elonkusk opened this issue Mar 2, 2022 · 1 comment
Open

ListNftTemplate missing owner, paging info #72

elonkusk opened this issue Mar 2, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@elonkusk
Copy link
Member

elonkusk commented Mar 2, 2022

  • Template created: MOK, MOK1, MOK3 on testnet

  • List template got result:

          wallet> ListNftTemplate UinLtqgPm9waBdUSVAAzRR6pfBzfQNC4c2  -1 -1
              {
                  "page_size": 20,
                  "total": 3,
                  "templates": [
                      {
      	                "symbol": "MOK",
      	                "name": "monkey",
      	                "total_supply": 100000000000,
      	                "owner": "44e4257594e51b856d87428771a1a9ccdcab8bf5cb",
      	                "last_operation": 1646219814000,
      	                "next": "4d4f4b32"
                      },
                      {
      	                "symbol": "MOK2",
      	                "name": "monkey",
      	                "total_supply": 100000000000,
      	                "owner": "44e4257594e51b856d87428771a1a9ccdcab8bf5cb",
      	                "last_operation": 1646219868000,
      	                "next": "4d4f4b33",
      	                "prev": "4d4f4b"
                      },
                      {
      	                "symbol": "MOK3",
      	                "name": "monkey",
      	                "total_supply": 100000000000,
      	                "owner": "44e4257594e51b856d87428771a1a9ccdcab8bf5cb",
      	                "last_operation": 1646220390000,
      	                "prev": "4d4f4b32"
                      }
                  ]
              }
    
  • load template with empty resault got :

         wallet> ListNftTemplate UcTApoAcUFsVkL1xNUdqfqugQugxXEkw2H  -1 -1
         {
             "page_size": 20
         }
    
@elonkusk elonkusk added the bug Something isn't working label Mar 2, 2022
@AbrahamNguyen26
Copy link
Member

AbrahamNguyen26 commented Mar 4, 2022

reconstruct the bug case:
image

unit test pass:
image

commit github: here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants