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

Use local Ganache instance to test wallet_addEthereumChain #174

Merged
merged 4 commits into from
Jun 14, 2022

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Jun 14, 2022

https://dai.poa.network seems dead and has broken e2e tests. This PR updates the test-dapp to use a local Ganache instance for testing.

src/index.js Outdated
@@ -289,10 +289,10 @@ const initialize = async () => {
params: [
{
chainId: '0x64',
rpcUrls: ['https://dai.poa.network'],
chainName: 'xDAI Chain',
rpcUrls: ['https://rpc.gnosischain.com'],
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @FrederikBolding, I wondering if we should change it to a local Ganache server running on a different port. So we have more control over this in our tests

@FrederikBolding FrederikBolding changed the title Update xDAI information to Gnosis Chain Use local Ganache instance to test wallet_addEthereumChain Jun 14, 2022
PeterYinusa
PeterYinusa previously approved these changes Jun 14, 2022
@FrederikBolding FrederikBolding merged commit ad3d5ee into main Jun 14, 2022
@FrederikBolding FrederikBolding deleted the fb/update-xdai-rpc branch June 14, 2022 14:28
@brad-decker brad-decker mentioned this pull request Jun 14, 2022
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