mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
elementfi: Bypass expiration check that won't pass due to test settings
This commit is contained in:
parent
7a5be4a063
commit
ccbc865beb
@ -85,6 +85,10 @@ function elementfi_test
|
||||
sed -i 's|bytes32(uint256(pool))|bytes32(uint256(uint160(pool)))|g' vault/PoolRegistry.sol
|
||||
popd
|
||||
|
||||
# The test suite uses forked mainnet and an expiration period that's too short.
|
||||
# TODO: Remove when https://github.com/element-fi/elf-contracts/issues/243 is fixed.
|
||||
sed -i 's|^\s*require(_expiration - block\.timestamp < _unitSeconds);\s*$||g' contracts/ConvergentCurvePool.sol
|
||||
|
||||
# Several tests fail unless we use the exact versions hard-coded in package-lock.json
|
||||
#neutralize_package_lock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user