Skip to content

Commit 08566bf

Browse files
authored
Test ethers 6.13.6-beta.1, use solc 0.8.27 and prague EVM version (#5663)
1 parent 9393147 commit 08566bf

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

.github/actions/setup/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ runs:
1313
path: '**/node_modules'
1414
key: npm-v3-${{ hashFiles('**/package-lock.json') }}
1515
- name: Install dependencies
16-
run: npm ci
16+
## TODO: Remove when EIP-7702 authorizations are enabled in latest non-beta ethers version
17+
run: npm ci --legacy-peer-deps
1718
shell: bash
1819
if: steps.cache.outputs.cache-hit != 'true'
1920
- name: Install Foundry

.github/workflows/checks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ jobs:
118118
- uses: actions/checkout@v4
119119
- name: Set up environment
120120
uses: ./.github/actions/setup
121+
## TODO: Remove when EIP-7702 authorizations are enabled in latest non-beta ethers version
122+
- run: rm package-lock.json package.json # Dependencies already installed
121123
- uses: crytic/[email protected]
122124

123125
codespell:

foundry.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[profile.default]
2-
solc_version = '0.8.24'
2+
solc_version = '0.8.27'
33
evm_version = 'prague'
44
optimizer = true
55
optimizer-runs = 200

hardhat.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { argv } = require('yargs/yargs')()
1818
compiler: {
1919
alias: 'compileVersion',
2020
type: 'string',
21-
default: '0.8.24',
21+
default: '0.8.27',
2222
},
2323
src: {
2424
alias: 'source',
@@ -38,7 +38,7 @@ const { argv } = require('yargs/yargs')()
3838
evm: {
3939
alias: 'evmVersion',
4040
type: 'string',
41-
default: 'cancun',
41+
default: 'prague',
4242
},
4343
// Extra modules
4444
coverage: {

package-lock.json

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"chai": "^4.2.0",
6767
"eslint": "^9.0.0",
6868
"eslint-config-prettier": "^10.0.0",
69-
"ethers": "^6.13.4",
69+
"ethers": "6.13.6-beta.1",
7070
"glob": "^11.0.0",
7171
"globals": "^16.0.0",
7272
"graphlib": "^2.1.8",

test/metatx/ERC2771Forwarder.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('ERC2771Forwarder', function () {
174174
// Because the relayer call consumes gas until the `CALL` opcode, the gas left after failing
175175
// the subcall won't enough to finish the top level call (after testing), so we add a
176176
// moderated buffer.
177-
const gasLimit = estimate + 2_000n;
177+
const gasLimit = estimate + 10_000n;
178178

179179
// The subcall out of gas should be caught by the contract and then bubbled up consuming
180180
// the available gas with an `invalid` opcode.

0 commit comments

Comments
 (0)