tornado-instances/scripts/setup.sh

8 lines
422 B
Bash
Raw Normal View History

2023-04-08 21:43:42 +03:00
#!/bin/bash
sed '2s/0\.7\.0/0.6.12/g' node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol >node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol.temp
rm node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol
# Too busy to read up on how I can not fuck up by overwriting file with sed right now
mv node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol{.temp,}