Skip to content

Commit

Permalink
add issue to todos
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Aug 5, 2024
1 parent a5d2ac4 commit f9ef655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions v2/scripts/deploy/deterministic/DeployGatewayEVM.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy

contract DeployGatewayEVMCreate2 is Script {
function run() external {
// TODO: should be passed as arg
// TODO (https://github.com/zeta-chain/protocol-contracts/issues/251): should be passed as arg
string memory mnemonic = "test test test test test test test test test test test junk";
uint256 privateKey = vm.deriveKey(mnemonic, 0);
address deployer = vm.rememberKey(privateKey);

// TODO: should be passed as arg
// TODO (https://github.com/zeta-chain/protocol-contracts/issues/251): should be passed as arg
address payable tss = payable(vm.envOr("TSS_ADDRESS", address(0x123)));
address admin = vm.envOr("ADMIN_ADDRESS", deployer);

Expand All @@ -25,7 +25,7 @@ contract DeployGatewayEVMCreate2 is Script {

vm.startBroadcast(deployer);

// TODO: should be passed as arg
// TODO (https://github.com/zeta-chain/protocol-contracts/issues/251): should be passed as arg
TestERC20 zeta = new TestERC20("zeta", "ZETA");

expectedImplAddress = computeCreate2Address(
Expand Down
4 changes: 2 additions & 2 deletions v2/scripts/deploy/deterministic/UpgradeGatewayEVM.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import { Upgrades } from "openzeppelin-foundry-upgrades/Upgrades.sol";

contract UpgradeGatewayEVM is Script {
function run() external {
// TODO: should be passed as arg
// TODO (https://github.com/zeta-chain/protocol-contracts/issues/251): should be passed as arg
string memory mnemonic = "test test test test test test test test test test test junk";
uint256 privateKey = vm.deriveKey(mnemonic, 0);
address deployer = vm.rememberKey(privateKey);

// TODO: should be passed as arg
// TODO (https://github.com/zeta-chain/protocol-contracts/issues/251): should be passed as arg
address proxy = vm.envOr("PROXY_ADDRESS", address(0xA7806c719bd377F15bA6CaDf2F94Afb7FfA66256));

GatewayEVM prevImpl = GatewayEVM(proxy);
Expand Down

0 comments on commit f9ef655

Please sign in to comment.