Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 91
chore: Upgrade ethers to 5.7.2, hardhat to 2.22.15, and ethereum-waffle to 3.4.4#1481
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
6fb0e4fc79d9910d2c303c9b79e02e5db9ebe8255134ad9342c4a75348d22a96f4ee014cfb2544456920cc02a64e5cc0cf0605a431ad5da7bf816d14951e70decb1d9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| { | ||
| "extends": "../../tsconfig", | ||
| "include": ["test/"] | ||
| "include": ["test/"], | ||
| "compilerOptions": { | ||
| // workaround to fix conflict between `@types/mocha` and `@types/jest` | ||
| // https://github.com/microsoft/TypeScript/issues/11437#issuecomment-252381205 | ||
| "typeRoots": ["../../types-overrides", "node_modules/@types"] | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -22,7 +22,7 @@ describe('getDefaultProvider', () => { | ||
| }); | ||
| }; | ||
| testSuite('rinkeby', 4); | ||
| testSuite('maticmum', 80001); | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| testSuite('goerli', 5); | ||
| it('Can take a private network', async () => { | ||
| @@ -70,14 +70,13 @@ describe('getDefaultProvider', () => { | ||
| 'http://fakenet.fake', | ||
| ); | ||
| // still works for standard providers | ||
| expect((getDefaultProvider('rinkeby') as providers.JsonRpcProvider).connection.url).toMatch( | ||
| /https:\/\/rinkeby\.infura.*/, | ||
| expect((getDefaultProvider('maticmum') as providers.JsonRpcProvider).connection.url).toMatch( | ||
| /https:\/\/polygon-mumbai\.infura.*/, | ||
| ); | ||
| expect((getDefaultProvider('sepolia') as providers.JsonRpcProvider).connection.url).toMatch( | ||
| /https:\/\/rpc.sepolia\.org.*/, | ||
rodrigopavezi marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| ); | ||
| }); | ||
| expect((getDefaultProvider('goerli') as providers.JsonRpcProvider).connection.url).toMatch( | ||
| /https:\/\/goerli\.infura.*/, | ||
| ); | ||
| }); | ||
| it('Can override the api key for a standard provider', async () => { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -110,7 +110,7 @@ describe('getNetworkProvider', () => { | ||
| }); | ||
| }; | ||
| testProvider('rinkeby'); | ||
| testProvider('sepolia'); | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| testProvider('goerli'); | ||
| it('fails for other network', () => { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| { | ||
| "extends": "../../tsconfig", | ||
| "include": ["src/", "test/"] | ||
| "include": ["src/", "test/"], | ||
| "exclude": ["node_modules", "dist"], | ||
| "compilerOptions": { | ||
| // workaround to fix conflict between `@types/mocha` and `@types/jest` | ||
| // https://github.com/microsoft/TypeScript/issues/11437#issuecomment-252381205 | ||
| "typeRoots": ["../../types-overrides", "node_modules/@types"] | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -54,7 +54,7 @@ | ||
| "@requestnetwork/transaction-manager": "0.36.0", | ||
| "@requestnetwork/types": "0.45.0", | ||
| "@requestnetwork/utils": "0.45.0", | ||
| "ethers": "5.5.1", | ||
| "ethers": "5.7.2", | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| "qs": "6.11.2", | ||
| "tslib": "2.5.0" | ||
| }, | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -38,7 +38,7 @@ | ||
| "prepare": "yarn run build" | ||
| }, | ||
| "dependencies": { | ||
| "ethers": "5.5.1" | ||
| "ethers": "5.7.2" | ||
MantisClone marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| }, | ||
| "devDependencies": { | ||
| "ts-node": "10.9.1", | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.