Merge pull request #13047 from ethereum/fix-external-test-euler-failing

Workaround for euler ext test failing due to changed chainid behavior
This commit is contained in:
chriseth 2022-05-23 11:27:10 +02:00 committed by GitHub
commit be85d287b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,10 @@ function euler_test
# TODO: Remove this when https://github.com/NomicFoundation/hardhat/issues/2453 gets fixed.
sed -i "/expectError: 'JUNK_UPGRADE_TEST_FAILURE'/d" test/moduleUpgrade.js
# One of the tests is currently broken in the upstream, due to changed behavior of chainid in @ethereumjs/vm.
# TODO: Remove this when https://github.com/euler-xyz/euler-contracts/issues/119 gets fixed.
sed -i 's/domainSeparatorMatch)\.to\.equal(true/domainSeparatorMatch)\.to\.equal(false/g' test/eulStakes.js
neutralize_package_lock
neutralize_package_json_hooks
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"