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 metamask support #2

Merged
merged 2 commits into from
Aug 31, 2022
Merged

feat: add metamask support #2

merged 2 commits into from
Aug 31, 2022

Conversation

ncitron
Copy link
Collaborator

@ncitron ncitron commented Aug 31, 2022

Metamask and other wallets interact with the rpc in very particular ways.

Changes:

  • Allow block numbers other than latest for all rpc calls
  • Cache old ExecutionPayloads for fetching historical calls
  • Keep track of head block in Client
  • Support net_version
  • Support eth_getBlockByNumber

@ncitron ncitron merged commit 92e30c3 into master Aug 31, 2022
@ncitron ncitron deleted the metamask-support branch August 31, 2022 21:51
yangby-cryptape pushed a commit to yangby-cryptape/helios that referenced this pull request Jan 20, 2023
chore: fix bugs after merging latest commits from helios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant