-
Notifications
You must be signed in to change notification settings - Fork 27
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: replace RPC provider from Alchemy to Infura DIN #451
base: main
Are you sure you want to change the base?
Conversation
8a4a672
to
a94bb1d
Compare
Quality Gate passed for 'consensys_starknet-snap-wallet-ui'Issues Measures |
Quality Gate passed for 'consensys_starknet-snap-starknet-snap'Issues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, just 1 nit comment
import { getRPCUrl } from './rpc-provider'; | ||
|
||
describe('getRPCUrl', () => { | ||
Config.rpcApiKey = 'test'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Config.rpcApiKey = 'test'; | |
beforeEach(function () { | |
Config.rpcApiKey = 'API_KEY'; | |
}); | |
afterEach(function () { | |
Config.rpcApiKey = undefined | |
}); |
reset it, in case you have some unexpected behaviour (the way using before and after is not suggest by MM, but i think it is okay for that case)
This PR is to replace the Alchemy RPC provider by Infura DIN one.
The required changes in the CI/CD workflow will happen elsewhere.