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

add collections' main asset #210

Closed

Conversation

prettyirrelevant
Copy link
Contributor

No description provided.

Comment on lines 3 to 4
UPDATE asset_collections SET main_asset='eip155:1/erc20:0xB6eD7644C69416d67B522e20bC294A9a9B405B31' WHERE id=0;
INSERT INTO asset_collections(id, name, symbol) VALUES (0, '0xBitcoin', '0xBTC');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't the insert have the main asset also in the query?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that'd require the refactor of the assets updater.
normally, the UPDATE statements are sufficient since the data already exists in the database but the INSERTS are needed since the tests expect such format.

@prettyirrelevant prettyirrelevant deleted the collection-main-asset branch December 19, 2024 20:47
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

Successfully merging this pull request may close these issues.

2 participants