Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDiscotech committed Oct 7, 2024
1 parent f7f51ba commit 785b999
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ ETHERSCAN_API_KEY=
# These need to be deployed and set manually, ideally from circle's stablecoin-evm repo

# Mainnets
USDC=
MAINET_USDC_IMPLEMENTATION=
USDC_BASE_IMPLEMENTATION=
USDC_OPTIMISM_IMPLEMENTATION=

# Testnets
TESTNET_USDC=
TESTNET_USDC_IMPLEMENTATION=
USDC_BASE_TESTNET_IMPLEMENTATION=
USDC_OPTIMISM_TESTNET_IMPLEMENTATION=
2 changes: 1 addition & 1 deletion script/mainnet/deploy/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract Deploy is Script {
function run() public {
vm.startBroadcast(owner);

// NOTE: We have these hardcoded to default values, if used in product you will need to change them
// NOTE: We have these hardcoded to default values, if used in production you will need to change them
bytes[] memory _usdcInitTxs = new bytes[](3);
string memory _name = string.concat('Bridged USDC', ' ', '(', chainName, ')');

Expand Down
4 changes: 2 additions & 2 deletions script/mainnet/deploy/L1FactoryDeployAndSetup.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {console} from 'forge-std/Test.sol';
import {IL1OpUSDCFactory} from 'interfaces/IL1OpUSDCFactory.sol';

contract L1FactoryDeployAndSetup is Script {
address public constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
address public deployer = vm.rememberKey(vm.envUint('MAINNET_PK'));
address public usdc = vm.envAddress('MAINNET_USDC_IMPLEMENTATION');

function run() public {
vm.startBroadcast(deployer);
console.log('Deploying L1OpUSDCFactory ...');
IL1OpUSDCFactory _l1Factory = new L1OpUSDCFactory(USDC);
IL1OpUSDCFactory _l1Factory = new L1OpUSDCFactory(usdc);
console.log('L1OpUSDCFactory deployed at:', address(_l1Factory));
/// NOTE: Hardcode the address on `L1_FACTORY_MAINNET` inside the `.env` file
vm.stopBroadcast();
Expand Down
2 changes: 1 addition & 1 deletion script/testnet/deploy/L1FactoryDeployAndSetup.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {IL1OpUSDCFactory} from 'interfaces/IL1OpUSDCFactory.sol';

contract L1FactoryDeployAndSetup is Script {
address public deployer = vm.rememberKey(vm.envUint('TESTNET_PK'));
address public usdc = vm.envAddress('TESTNET_USDC');
address public usdc = vm.envAddress('TESTNET_USDC_IMPLEMENTATION');

function run() public {
vm.createSelectFork(vm.rpcUrl(vm.envString('TESTNET_RPC')));
Expand Down

0 comments on commit 785b999

Please sign in to comment.