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

feat: Add support for gas payment expressed in a non-native tokens #4634

Open
Tracked by #3321
ameten opened this issue Oct 7, 2024 · 0 comments
Open
Tracked by #3321

feat: Add support for gas payment expressed in a non-native tokens #4634

ameten opened this issue Oct 7, 2024 · 0 comments

Comments

@ameten
Copy link
Contributor

ameten commented Oct 7, 2024

Issue

Unknown cryptocurrency for gas payment

Intro

InterchainGasPaymaster smart contract does not provide the cryptocurrency in which it expresses gas payment. It can be wei for Ethereum, inj for Injective and TIA for Neutron.

As the result, Scraper does not know how it can convert the gas payment into the fundamental unit of the cryptocurrency.

Change

  1. InterchanGasPaymaster should provide cryptocurrency in gas_payment event.
  2. Scraper should be able to read this data and record it into gas_payment table.
  3. Explorer should be able to render the unit of gas payment correctly.
@ameten ameten changed the title feat: Add support for gas payment expressed in a non-native cryptocurrency feat: Add support for gas payment expressed in a non-native tokens Oct 8, 2024
@ameten ameten self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant