Update test Goerli contract

This commit is contained in:
Theo 2023-08-30 12:05:26 -07:00
parent 0cff07f2e7
commit 79c5bbbbc7

@ -9,8 +9,8 @@ import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { TornadoAddresses } from "@proprietary/TornadoAddresses.sol"; import { TornadoAddresses } from "@proprietary/TornadoAddresses.sol";
contract GoerliTestProposal is Ownable, TornadoAddresses { contract GoerliTestProposal is Ownable, TornadoAddresses {
address ensResolverAddress = 0xd7a4F6473f32aC2Af804B3686AE8F1932bC35750; // goerli ENS resolver address internal ensResolverAddress = 0xd7a4F6473f32aC2Af804B3686AE8F1932bC35750; // goerli ENS resolver
address ensRegistryAddress = 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e; address internal ensRegistryAddress = 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e;
string testDomain = "tornadotest.eth"; string testDomain = "tornadotest.eth";
bytes32 testNode = calculateDomainNode(testDomain); bytes32 testNode = calculateDomainNode(testDomain);
@ -71,7 +71,7 @@ contract GoerliTestProposal is Ownable, TornadoAddresses {
} }
function setClassicUiIpfs() public { function setClassicUiIpfs() public {
bytes memory classicUiIPFSContenthash = hex"e301017012208124caa06a8419371b1d2eab9180191727d1ce0c0832975362f77a679ce614b6"; bytes memory classicUiIPFSContenthash = hex"e301017012203c89ba6bfdeb8d7209463006e620ee6dcb34675cf3202f20919e3a5f9919070d";
ensResolver.setContenthash(testNode, classicUiIPFSContenthash); ensResolver.setContenthash(testNode, classicUiIPFSContenthash);
} }
@ -89,7 +89,7 @@ contract GoerliTestProposal is Ownable, TornadoAddresses {
} }
function setDocsIpfs() public { function setDocsIpfs() public {
bytes memory docsIPFSContenthash = hex"e3010170122008ba5879914413355290e3c8574825f7a09e59a9802a5fad1edfb3ce6a4f825b"; bytes memory docsIPFSContenthash = hex"e301017012201e6facc47ac27a4072b3ba19e716c0db37cbd29b40b23f3af8a85412ef45be08";
ensResolver.setContenthash(testNode, docsIPFSContenthash); ensResolver.setContenthash(testNode, docsIPFSContenthash);
} }