mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12673 from ethereum/work-around-element-fi-expired-timestamp
Bypass an expiration check in ElementFi until it's fixed upstream
This commit is contained in:
commit
1698384864
@ -85,6 +85,10 @@ function elementfi_test
|
|||||||
sed -i 's|bytes32(uint256(pool))|bytes32(uint256(uint160(pool)))|g' vault/PoolRegistry.sol
|
sed -i 's|bytes32(uint256(pool))|bytes32(uint256(uint160(pool)))|g' vault/PoolRegistry.sol
|
||||||
popd
|
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
|
# Several tests fail unless we use the exact versions hard-coded in package-lock.json
|
||||||
#neutralize_package_lock
|
#neutralize_package_lock
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user