1
0

Update README and naming

Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
AlienTornadosaurusHex 2023-05-22 18:28:08 +00:00
parent c8507739d2
commit 7b7063e1d2
2 changed files with 10 additions and 6 deletions

@ -1,4 +1,4 @@
# Governance upgrade to patch exploit vulnerability
# Governance upgrade to patch exploit vulnerability
The contracts can be currently found here:
@ -7,6 +7,10 @@ The contracts can be currently found here:
Inlined version of the `RelayerRegistry` and `TornadoStakingRewards` are also used. Check the `diffs` folder to see how much they deviate from the `relayer-registry` repository reconstruction. VSC will possibly show red as "added".
For testing resistance against metamorphic contracts, we use the contracts provided by: https://github.com/0age/metamorphic.git
The rest of the Tornado Governance README follows below.
# Tornado governance [![build status](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml/badge.svg)](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml) [![Coverage Status](https://coveralls.io/repos/github/tornadocash/tornado-governance/badge.svg?branch=master)](https://coveralls.io/github/tornadocash/tornado-governance?branch=master)
## Description

@ -48,10 +48,10 @@ contract PatchProposal {
IERC20 public constant TORN = IERC20(0x77777FeDdddFfC19Ff86DB637967013e6C6A116C);
ProposalContractsFactory public immutable proposalContractFactory;
ProposalContractsFactory public immutable proposalContractsFactory;
constructor(address _proposalContractFactory) public {
proposalContractFactory = ProposalContractsFactory(_proposalContractFactory);
constructor(address _proposalContractsFactory) public {
proposalContractsFactory = ProposalContractsFactory(_proposalContractsFactory);
}
// Aight lets do this sirs
@ -71,11 +71,11 @@ contract PatchProposal {
// And create a new staking contract
TornadoStakingRewards newStaking = TornadoStakingRewards(
proposalContractFactory.createStakingRewards(address(governance), address(TORN), registry)
proposalContractsFactory.createStakingRewards(address(governance), address(TORN), registry)
);
// And a new registry
address newRegistryAddress = proposalContractFactory.createRegistryContract(
address newRegistryAddress = proposalContractsFactory.createRegistryContract(
address(TORN),
address(governance),
ensAddress,