Closed kwhuo68 closed 1 year ago
one change which is a quick one - if the script has a hardcoded address for specific token, I think the token address should reside inside the script and the script name should include the name of the token
for example:
DeployStablecoinDepositModule.s.sol
-> DeployStablecoinDepositModule_USDC.s.sol
and instead of pushing usdcAddress
into Addresses.sol
, it should be inside the script because its used only by the script
Core changes:
Notes: First, populate values in
Addresses.sol
and then (with RPC_URL as mainnet fork) ->forge script scripts/DeployZCBModule.s.sol:DeployZCBModule --fork-url RPC_URL --broadcast
forge script scripts/DeployStablecoinDepositModule.s.sol:DeployStablecoinDepositModule --fork-url http://localhost:8545 --broadcast