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

auxiliary data for USDT, USDC ... brands missing from boardAux #8660

Open
dckc opened this issue Dec 14, 2023 · 1 comment
Open

auxiliary data for USDT, USDC ... brands missing from boardAux #8660

dckc opened this issue Dec 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dckc
Copy link
Member

dckc commented Dec 14, 2023

Describe the bug

@Jorge-Lopes writes:

The following assets USDT, USDC, stATOM, DAI_axl and DAI_grv are listed as possible options, but they cannot be used ...
Reason: they are published under the agoricNames brands but not under the boardAux.

To Reproduce

The steps below are for xnet, but I spot checked mainnet and saw the same symptoms.

Enumerate brands in vbank along with their boardIds:

$ AGORIC_NET=xnet yarn --silent agops inter vbank list | jq -c '.[] | {name: .issuerName, boardId: .brand.boardId}'
{"name":"USDT","boardId":"board004122"}
{"name":"USDC_axl","boardId":"board05736"}
{"name":"USDT_grv","boardId":"board04542"}
{"name":"DAI_axl","boardId":"board01744"}
{"name":"DAI_grv","boardId":"board03446"}
{"name":"USDC_grv","boardId":"board03138"}
{"name":"stATOM","boardId":"board037112"}
{"name":"ATOM","boardId":"board05557"}
{"name":"USDT_axl","boardId":"board03040"}
{"name":"USDC","boardId":"board016118"}
{"name":"BLD","boardId":"board0566"}
{"name":"IST","boardId":"board0257"}

Note that boardId of USDT (board004122), USDC (board016118) etc. are not in boardAux:

$ agd --node https://xnet.rpc.agoric.net:443 query vstorage children published.boardAux
children:
- board0074
- board01744
- board0257
- board03040
- board031144
- board03138
- board03446
- board035142
- board04542
- board046100
- board048146
- board05557
- board0566
- board05736
- board06299

Expected behavior

Each brand in agoricNames.brand (which includes those from agoricNames.vbankAsset) should have its displayInfo published under boardAux, as per

Platform Environment

  • what OS are you using? what version of Node.js?
  • is there anything special/unusual about your platform?
  • what version of the Agoric-SDK are you using? (run git describe --tags --always)

xnet, mainnet

@dckc dckc added the bug Something isn't working label Dec 14, 2023
@dckc
Copy link
Member Author

dckc commented Dec 14, 2023

I thought perhaps the timerBrand error would terminate a loop, but we specifically designed for that case:

// tolerate failure; in particular, for the timer brand
await Promise.allSettled(brands.map(publishBrandInfo));

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

1 participant