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

Remove price for old GALA token #6541

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

fhenneke
Copy link
Contributor

Contribution type

Please check the type of contribution this pull request is for:

  • New spell(s)
  • Adding to existing spell lineage
  • Bug fix

  • Description: The price of the old GALA token is wrong. Instead of using its actual price, the price of the new GALA token is used.
  • Steps to reproduce: The actual price of the old token according to some liquidity pools is around 2-3 orders of magnitude smaller than the price given on Dune by this query:
select * from prices.usd
where contract_address in (0x15d4c048f83bd7e37d49ea4c83a07267ec4203da, 0xd1d2Eb1B1e90B638588728b4130137D262C87cae)
order by minute desc
limit 2

The prices of the new and old token are the same on Dune, which is not correct.

  • Implementation details: An association of the old GALA token with the token id of the new GALA token is removed. This PR does not advocate for using a better price feed. It only advocates for removing a wrong price feed.
  • Test instructions:
  • Related issue(s):

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
phi-gamma Philipp Gesang
This change removes an entry associating the address of the old GALA token with prices
of the new GALA token.

The (new) GALA token, which has a price on coinpaprika, has address 0xd1d2eb1b1e90b638588728b4130137d262c87cae.
The old GALA token has address 0x15d4c048f83bd7e37d49ea4c83a07267ec4203da.
The old token trades at significantly less than the new token.
Using the price of the new token for the old token is therefore not correct.

The entry which is removed in this PR created a connection of the old GALA token to prices of the new token
by tagging the old token with the coinpaprica token id gala-gala of the new token.
This PR removes this association. It should result in removing the wrong price of the old GALA token.
Copy link

github-actions bot commented Aug 12, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@dune-eng
Copy link

Workflow run id 10349723019 approved.

@dune-eng
Copy link

Workflow run id 10349722894 approved.

@dune-eng
Copy link

Workflow run id 10349723056 approved.

@fhenneke
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Aug 12, 2024
@Hosuke Hosuke added the question Further information is requested label Aug 12, 2024
@jeff-dude jeff-dude added in review Assignee is currently reviewing the PR and removed question Further information is requested labels Aug 12, 2024
@jeff-dude jeff-dude self-assigned this Aug 12, 2024
@jeff-dude jeff-dude added ready-for-merging and removed in review Assignee is currently reviewing the PR labels Aug 12, 2024
@jeff-dude jeff-dude merged commit d74c8cf into duneanalytics:main Aug 13, 2024
2 of 3 checks passed
Copy link

gitpoap-bot bot commented Aug 13, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2024 Dune Contributor:

GitPOAP: 2024 Dune Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants