Skip to content

Commit dfa309e

Browse files
Will CoryWill Cory
Will Cory
authored and
Will Cory
committed
chore(core-utils): pnpm up --latest
1 parent c8a94a5 commit dfa309e

File tree

4 files changed

+52
-40
lines changed

4 files changed

+52
-40
lines changed

.changeset/quick-poets-heal.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/core-utils': patch
3+
---
4+
5+
Upgraded npm dependencies to latest

packages/core-utils/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
"@ethersproject/keccak256": "^5.7.0",
4444
"@ethersproject/properties": "^5.7.0",
4545
"@ethersproject/rlp": "^5.7.0",
46-
"@ethersproject/web": "^5.7.0",
47-
"chai": "^4.3.4",
48-
"ethers": "^5.7.0",
46+
"@ethersproject/web": "^5.7.1",
47+
"chai": "^4.3.7",
48+
"ethers": "^5.7.2",
4949
"node-fetch": "^2.6.7"
5050
},
5151
"devDependencies": {
5252
"@types/node": "^20.5.0",
53-
"mocha": "^10.0.0"
53+
"mocha": "^10.2.0"
5454
}
5555
}

packages/core-utils/src/etherscan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class Etherscan {
7070
url.searchParams.append('apikey', this.apiKey)
7171
const response = await fetch(url)
7272
const result = await response.json()
73-
return result.result[0]
73+
return (result as { result: number[] }).result[0]
7474
}
7575

7676
public async getContractABI(address: string): Promise<any> {

pnpm-lock.yaml

+42-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)