Go to file
AlienTornadosaurusHex c80b9697db finalize deployment configuration with hardhat
Signed-off-by: AlienTornadosaurusHex <>
2023-06-29 21:00:52 +00:00
.github/workflows init 2023-04-08 18:46:18 +00:00
.vscode init 2023-04-08 18:46:18 +00:00
coverage also set content hash during the proposal 2023-06-27 22:37:30 +00:00
deploys finalize deployment configuration with hardhat 2023-06-29 21:00:52 +00:00
gas also set content hash during the proposal 2023-06-27 22:37:30 +00:00
lib init 2023-04-08 18:46:18 +00:00
script finalize deployment configuration with hardhat 2023-06-29 21:00:52 +00:00
src also set content hash during the proposal 2023-06-27 22:37:30 +00:00
storage update registry storage layout 2023-06-27 20:28:25 +00:00
test also set content hash during the proposal 2023-06-27 22:37:30 +00:00
.env.example FeeOracleManager not deploying still 2023-06-29 21:00:47 +00:00
.gitignore use uniswap v2 for twap 2023-06-16 01:12:39 +00:00
.gitmodules init 2023-04-08 18:46:18 +00:00
.solhint.json init 2023-04-08 18:46:18 +00:00
config.js FeeOracleManager not deploying still 2023-06-29 21:00:47 +00:00
foundry.toml update config 2023-06-29 10:48:48 +00:00
hardhat.config.js finalize deployment configuration with hardhat 2023-06-29 21:00:52 +00:00
package.json FeeOracleManager not deploying still 2023-06-29 21:00:47 +00:00
README.md finalize deployment configuration with hardhat 2023-06-29 21:00:52 +00:00
remappings.txt remove useless remappings 2023-06-29 12:06:24 +00:00

infrastructure-upgrade

The infrastructure-upgrade repository. This contains relayer-registry contracts, and is intended to upgrade Tornado infrastructure for various functionalities and goals.

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

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.