diff --git a/ci/tests/ERC20.py b/ci/tests/ERC20.py index 06951ca3..8f28394e 100644 --- a/ci/tests/ERC20.py +++ b/ci/tests/ERC20.py @@ -153,6 +153,8 @@ class Reencrypt(EIP712Struct): "language": "Solidity", "sources": {"EncryptedERC20.sol": {"content": file_contents}}, "settings": { + "remappings": ['@openzeppelin/contracts={0}/node_modules/@openzeppelin/contracts'.format(os.getcwd()), + 'abstract={0}/examples/abstract'.format(os.getcwd())], "outputSelection": { "*": { "*": ["abi", "metadata", "evm.bytecode", "evm.bytecode.sourceMap"] @@ -160,8 +162,7 @@ class Reencrypt(EIP712Struct): } }, }, - solc_version="0.8.13", - allow_paths="./examples" + solc_version="0.8.13" ) print('Contract compilation took %s seconds' % (time.time() - start))