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

Disable Infura #13

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { ORMPAbi as ORMPAbiV1 } from "./abis/v1/ORMPAbi";
import { ORMPOracleAbi as ORMPOracleAbiV1 } from "./abis/v1/ORMPOracleAbi";
import { ORMPRelayerAbi as ORMPRelayerAbiV1 } from "./abis/v1/ORMPRelayerAbi";

const INFURA_API_KEY = process.env.INFURA_API_KEY;
// const INFURA_API_KEY = process.env.INFURA_API_KEY;
const INFURA_API_KEY = null;
const MAX_REQUESTS_PER_SECOND = 1;

const v1Networks = {
Expand Down Expand Up @@ -108,9 +109,9 @@ export default createConfig({
// ? `https://mainnet.infura.io/v3/de35badc1ec7472da2967dd0248bd60c`
// : "https://ethereum.publicnode.com"

"https://ethereum.publicnode.com"
"https://ethereum.publicnode.com"
),

maxRequestsPerSecond: MAX_REQUESTS_PER_SECOND,
},
polygon: {
Expand Down