mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13961 from ethereum/fix-external-test-gp2
gp2 external test workaround
This commit is contained in:
commit
7cd589eee4
@ -235,8 +235,7 @@ function force_truffle_compiler_settings
|
||||
function name_hardhat_default_export
|
||||
{
|
||||
local config_file="$1"
|
||||
|
||||
local import="import {HardhatUserConfig} from 'hardhat/types';"
|
||||
local import="import {HardhatUserConfig} from 'hardhat/types/config';"
|
||||
local config="const config: HardhatUserConfig = {"
|
||||
sed -i "s|^\s*export\s*default\s*{|${import}\n${config}|g" "$config_file"
|
||||
echo "export default config;" >> "$config_file"
|
||||
|
@ -76,6 +76,9 @@ function gp2_test
|
||||
# See https://github.com/cowprotocol/contracts/issues/32
|
||||
yarn add @tenderly/hardhat-tenderly@1.1.6
|
||||
|
||||
# Add missing sinon type definitions
|
||||
yarn add @types/sinon
|
||||
|
||||
# Some dependencies come with pre-built artifacts. We want to build from scratch.
|
||||
rm -r node_modules/@gnosis.pm/safe-contracts/build/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user