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

Missing toml in asset_stats #427

Closed
istrau2 opened this issue Apr 30, 2018 · 8 comments
Closed

Missing toml in asset_stats #427

istrau2 opened this issue Apr 30, 2018 · 8 comments

Comments

@istrau2
Copy link

istrau2 commented Apr 30, 2018

Code: XIM
Issuing Account: GBZ35ZJRIKJGYH5PBKLKOZ5L6EXCNTO7BKIL7DAVVDFQ2ODJEEHHJXIM

There is a home domain in the accounts table but no toml in the asset_stats table.

@bartekn
Copy link
Contributor

bartekn commented Apr 30, 2018

As far as remember /assets endpoint (and home_domain) is updated when there's an operation involving the asset in the network. Updating it when account changes is not there yet: https://github.com/stellar/go/blob/master/services/horizon/internal/ingest/asset_stat.go#L43.

In short: send any operation that involves the asset (payment, offer, etc.) and it will update.

@bartekn bartekn closed this as completed Apr 30, 2018
@istrau2
Copy link
Author

istrau2 commented Apr 30, 2018

@bartekn
Do you mean execute an operation involving the asset from the issuing account or just in general? XIM has had many ops executed after the home domain was changed: https://stellar.expert/explorer/public/asset/XIM-GBZ35ZJRIKJGYH5PBKLKOZ5L6EXCNTO7BKIL7DAVVDFQ2ODJEEHHJXIM

@bartekn
Copy link
Contributor

bartekn commented May 16, 2018

I think this can be caused by #436 which is now blocked by #445 (and a fix for this: #446). I think this will be merged today and we will test it in testnet and master, then release a patch horizon build.

@Nathanofzion
Copy link

Hello istrau2

Did you manage to resolve this issue as I'm having the same????

some help would much be appreciated
thanks

@bartekn
Copy link
Contributor

bartekn commented Jun 1, 2018

The fix has been just deployed to horizon.stellar.org. Please check if it works after submitting a transaction involving the asset (it triggers stats update).

@istrau2
Copy link
Author

istrau2 commented Jun 1, 2018

@bartek we run our own horizon. What do we have to do?

@istrau2
Copy link
Author

istrau2 commented Jun 4, 2018

@bartekn Where can I find instructions on upgrading to the latest horizon?

@bartekn
Copy link
Contributor

bartekn commented Jun 6, 2018

A new Horizon version that includes a fix for this issue has been released: https://github.com/stellar/go/releases/tag/horizon-v0.13.0 Please read release notes carefully.

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

3 participants