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: alchemy keys #801

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: alchemy keys #801

wants to merge 1 commit into from

Conversation

simboonlong
Copy link
Contributor

@simboonlong simboonlong commented Jul 31, 2023

  • as per introduced since.
    • only used in querying fixtures in integration tests.
  • this pr cleans up the alchemy keys used. free tier gives 300 million compute units.
    • 1 run as of today on this pr consumes around 38 requests, 1140 compute units.

@netlify
Copy link

netlify bot commented Jul 31, 2023

Deploy Preview for tradetrust-mainnet ready!

Name Link
🔨 Latest commit 1c34dc2
🔍 Latest deploy log https://app.netlify.com/sites/tradetrust-mainnet/deploys/64c720ab5f013500085140c0
😎 Deploy Preview https://deploy-preview-801--tradetrust-mainnet.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -18,7 +18,7 @@ module.exports = {
},
INFURA_API_KEY: process.env.INFURA_API_KEY || "bb46da3f80e040e8ab73c0a9ff365d18",
INFURA_PROJECT_ID: "1f1ff2b3fca04f8d99f67d465c59e4ef",
ALCHEMY_API_KEY: process.env.ALCHEMY_API_KEY || "pV9JmoYcDFFBihXlJWt6FSDxzNAVWxdT",
ALCHEMY_API_KEY: process.env.ALCHEMY_API_KEY || "483Uqp_0SP0NnXI0secbJgrSRXv4OXaj",
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious only, is any part of our frontend now uses the Alchemy API key instead of the Infura one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

none at all. i can only assume it was to help those **.integration.test.ts tests be more stable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

any concerns?

Copy link
Contributor

Choose a reason for hiding this comment

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

No strong opinions about it, though, I’d be curious if there is a reason for using Alchemy for integration testing only but Infura for the actual functionalities?

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

2 participants