Skip to content

Commit

Permalink
tests: fix test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Oct 1, 2024
1 parent f03c04b commit 858a81b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Install and run Geth
uses: ethers-io/run-geth-action@main

- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -84,7 +84,7 @@ jobs:
run: npm run test-coverage

- name: Store coverage summary artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-summary
path: ./output/summary.txt
Expand All @@ -93,7 +93,7 @@ jobs:
run: tar -cvf ./output/coverage.tar ./output/lcov-report/

- name: Store full coverage artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-complete
path: ./output/coverage.tar
Expand Down
2 changes: 1 addition & 1 deletion docs.wrm/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
// Prepare the context for running the examples
contextify: function(context) {
Object.assign(context, ethers);
context.provider = new ethers.InfuraProvider();
context.provider = new ethers.InfuraProvider("mainnet", "49a0efa3aaee4fd99797bfa94d8ce2f1");
context.Uint8Array = Uint8Array;

ethers.InfuraProvider.prototype[inspect.custom] = function(depth, options, inspect) {
Expand Down

0 comments on commit 858a81b

Please sign in to comment.