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

Allow RPC Sepolia Production RPC #63

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Allow RPC Sepolia Production RPC #63

merged 2 commits into from
Sep 11, 2024

Conversation

Ethnical
Copy link
Collaborator

@Ethnical Ethnical commented Sep 11, 2024

Description

This PR introduce an allowance of the RPC that contains "Sepolia" to be executed without forking environnement.

Tests

I have made update the test TestCheckAndReturnRPC().

{"Production URL Mainnet", "https://mainnet.infura.io", true},
{"Production URL Sepolia", "https://sepolia.infura.io", false},

This is part of https://github.com/ethereum-optimism/security-pod/issues/148

@Ethnical Ethnical requested a review from a team as a code owner September 11, 2024 13:40
@@ -226,7 +226,8 @@ func TestCheckAndReturnRPC(t *testing.T) {
expectError bool
}{
{"Empty URL", "", true},
{"Production URL", "https://mainnet.infura.io", true},
{"Production URL Mainnet", "https://mainnet.infura.io", true},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't it require an API Key?

@Ethnical Ethnical merged commit 49f6b46 into main Sep 11, 2024
7 checks passed
@Ethnical Ethnical deleted the ethni/add-sepolia-prod branch September 11, 2024 14:02
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