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

No transactions but balance changed. #294

Open
yangby-cryptape opened this issue Oct 20, 2023 · 4 comments
Open

No transactions but balance changed. #294

yangby-cryptape opened this issue Oct 20, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@yangby-cryptape
Copy link

Environment

Same as #293.

Steps to reproduce

Same as #293.

Expected behavior

People could figure out why the balance changed from the explorer.

Actual behavior

No transfer record in explorer:

The only correct thing is the "Last Balance Update".

@Keith-CY Keith-CY added the bug Something isn't working label Oct 20, 2023
@Keith-CY
Copy link
Member

Please have a look at this issue @zmcNotafraid

@zmcNotafraid zmcNotafraid moved this to 🏗 In Progress in Layer2 Explorer Oct 23, 2023
@zmcNotafraid
Copy link
Member

In blockscan, the balance updated was not synchronous.
When fetch block, it will record this block's transactions's used addresses and this block number to a table.Then another process will fetch address at this block's balance and update balance.

@yangby-cryptape
Copy link
Author

When fetch block, it will record this block's transactions's used addresses and this block number to a table.

I guess this is the reason for #293 and #294.

Ethereum allows people to do transfer in a contract.

For example, in the past, for gas saving, miner pool will use contract to pay for all miners, each transaction could pay hundreds of miners.
It's much cheaper than hundreds of transfer transactions.

I guess blockscan doesn't scan those transfers.

p.s. Topic about miner pools, recalls my old days memories, when I was younger, and worked in the desk next to Keith-CY and a garden with 🐀.

@Keith-CY
Copy link
Member

p.s. Topic about miner pools, recalls my old days memories, when I was younger, and worked in the desk next to Keith-CY and a garden with 🐀.

Fading scene hits me 🫨

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
Status: 🏗 In Progress
Development

No branches or pull requests

3 participants