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

[BUG] evms.transactions has rows with negative gas used #6565

Closed
MSilb7 opened this issue Aug 15, 2024 · 4 comments
Closed

[BUG] evms.transactions has rows with negative gas used #6565

MSilb7 opened this issue Aug 15, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@MSilb7
Copy link
Contributor

MSilb7 commented Aug 15, 2024

Description

evms.transactions has rows with negative gas used, which causes queries using it to fail

See: https://dune.com/queries/3992009

@MSilb7 MSilb7 added the bug Something isn't working label Aug 15, 2024
@jeff-dude jeff-dude self-assigned this Aug 15, 2024
@jeff-dude jeff-dude added the in review Assignee is currently reviewing the PR label Aug 15, 2024
@jeff-dude
Copy link
Member

looks like this is due to mode chain using a different data type in the raw data for that field.

SELECT
     gas_used,
     typeof(gas_used)
FROM
  "delta_prod"."mode"."transactions"
limit
  10

returns uint256

SELECT
     gas_used,
     typeof(gas_used)
FROM
  "delta_prod"."ethereum"."transactions"
limit
  10

returns bigint

@jeff-dude
Copy link
Member

@0xBoxer @agaperste
are we enforcing data types on hosted blockchains? why does mode differ than fully managed chains?

@agaperste
Copy link
Contributor

Thanks for raising @jeff-dude, I will discuss with blockchain team internally

@jeff-dude
Copy link
Member

thank you for raising @MSilb7
i can confirm there was a bug in data types from the hosted blockchains being added. the blockchain team has fix and i've refreshed the view, now the query runs.

@jeff-dude jeff-dude removed the in review Assignee is currently reviewing the PR label Aug 30, 2024
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

3 participants