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

balances is pulling the balance for addresses before the execution of transactions in a block #154

Open
Cybourgeoisie opened this issue Dec 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Cybourgeoisie
Copy link

Version
cryo commit 041f38b, latest as of writing

Platform
Max OSX

Description

Pulling balances data down will return the correct addresses at the correct blocks & transactions, however they are returning the balances before the transaction is executed and the balances are updated, not after.

I pulled a random address while reviewing this issue for the following example:

The output from cryo, displayed in duckdb:
Screenshot 2023-12-16 at 7 54 23 AM

The transactions in etherscan:
Screenshot 2023-12-16 at 7 55 28 AM

The assumed behavior (at least, my assumed behavior) is that this would return the balances of addresses after a block has been executed, not before.

@Cybourgeoisie Cybourgeoisie added the bug Something isn't working label Dec 16, 2023
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

1 participant