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

fix: allow custom parent chain RPC (and fix bug) #43

Merged

Conversation

TucksonDev
Copy link
Contributor

When using the public RPC for Sepolia or Ethereum mainnet, the query to search for events might take too long and the request might timeout.
This is a temporary patch that allows a custom RPC to be specified which will perform these searches faster.

The solution to the problem, however, is to somehow restrict the range of blocks to search events on. This patch will allow clients to continue using the verification script in the short term.

This PR also fixes one bug that breaks the script when getting admins of contracts that have leading 0s in them.

@TucksonDev TucksonDev changed the title Hotfix: allow custom parent chain RPC and fix leading 0s in addresses checks fix: allow custom parent chain RPC and fix leading 0s in addresses checks Jan 26, 2024
@TucksonDev TucksonDev changed the title fix: allow custom parent chain RPC and fix leading 0s in addresses checks fix: allow custom parent chain RPC (and fix bug) Jan 26, 2024
@TucksonDev TucksonDev merged commit 179c6d8 into feat-add-verification-scripts Jan 26, 2024
5 of 6 checks passed
@TucksonDev TucksonDev deleted the fix-allow-custom-parent-chain-rpc branch January 26, 2024 08:57
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.

2 participants