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

Aiding EVM block explorer balance tracking #1214

Open
nathanwhit opened this issue Oct 5, 2023 · 0 comments
Open

Aiding EVM block explorer balance tracking #1214

nathanwhit opened this issue Oct 5, 2023 · 0 comments
Labels

Comments

@nathanwhit
Copy link

Question
Currently, balance changes due to operations performed outside of the EVM (for instance, a transfer via the balances pallet) are not reflected in the corresponding ethereum block. This is understandable, but it means that if you point an EVM block explorer at a chain with frontier, the explorer's view of balances will most likely be incorrect (as a given block fetched via ethereum RPC would not have a transaction corresponding to the substrate operation, and so the explorer wouldn't expect any state change in a given account's balance).

We've thought of a few potential solutions:

  • Implement special handling on the block explorer's side
  • Somehow create "mirror" transactions on the ethereum side for balance changes that occur outside of the EVM (though it's not clear this is actually feasible)
  • Encouraging users to use only ethereum interfaces to interact with the chain (this helps mitigate the issue, but isn't a real solution)

Is there anything that can be done within frontier to make it easier for EVM block explorers to track balances? Or otherwise, any suggestions for alternative solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant