Skip to content

Commit 1164d1b

Browse files
cameelchriseth
authored andcommitted
Switch ENS external test to master branch
1 parent 27e5afa commit 1164d1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/externalTests/ens.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function test_fn { yarn test; }
3737
function ens_test
3838
{
3939
local repo="https://github.com/ensdomains/ens-contracts.git"
40-
local ref_type=tag
41-
local ref="v0.0.8" # The project is in flux right now and master might be too unstable for us
40+
local ref_type=branch
41+
local ref="master"
4242
local config_file="hardhat.config.js"
4343

4444
local compile_only_presets=(
@@ -72,6 +72,10 @@ function ens_test
7272
replace_version_pragmas
7373
neutralize_packaged_contracts
7474

75+
# In some cases Hardhat does not detect revert reasons properly via IR.
76+
# TODO: Remove this when https://github.com/NomicFoundation/hardhat/issues/2115 gets fixed.
77+
sed -i "s|it\(('Does not allow wrapping a name you do not own',\)|it.skip\1|g" test/wrapper/NameWrapper.js
78+
7579
find . -name "*.sol" -exec sed -i -e 's/^\(\s*\)\(assembly\)/\1\/\/\/ @solidity memory-safe-assembly\n\1\2/' '{}' \;
7680

7781
for preset in $SELECTED_PRESETS; do

0 commit comments

Comments
 (0)