infrastructure-upgrade/README.md
AlienTornadosaurusHex c80b9697db finalize deployment configuration with hardhat
Signed-off-by: AlienTornadosaurusHex <>
2023-06-29 21:00:52 +00:00

26 lines
1.1 KiB
Markdown

# infrastructure-upgrade
The `infrastructure-upgrade` repository. This contains `relayer-registry` contracts, and is intended to upgrade Tornado infrastructure for various functionalities and goals.
* [Latest Contracts](./src/v2/)
* [Contract Tests](./test/)
* [Test Coverage](./coverage/)
* [Gas usage](./gas/all.md)
* [Storage Layout](./storage/)
* [Deployment Scripts](./script/)
Please note that deployments only work via Hardhat, and only with the specified configuration. It seems that Forge outputs different bytecode than Etherscan, and that Hardhat also outputs for some contracts different bytecode than Etherscan if optimizations are not disabled.
## Install
```bash
git clone --recurse-submodules https://git.tornado.ws/AlienTornadosaurusHex/infrastructure-upgrade
cd infrastructure-upgrade
yarn
forge install
yarn build
forge build
```
`yarn build` has to execute a script to modify a single Uniswap dependency because of a stupid version pragma, if you check it out (in `script/setup.sh`) you will just notice that it goes into the file mentioned and changes the version pragma from 0.7.0 to 0.6.12. That is all of the changes needed.