chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
@@ -39,7 +39,7 @@ contract DeployWETHUsingCREATE is Script {
|
||||
// Check if contracts already exist
|
||||
if (checkContractExists(TARGET_WETH9)) {
|
||||
console.log("WETH9 already exists at target address");
|
||||
verifyWETH9();
|
||||
verifyWeth9();
|
||||
} else {
|
||||
console.log("Deploying WETH9...");
|
||||
WETH weth9 = new WETH();
|
||||
@@ -48,7 +48,7 @@ contract DeployWETHUsingCREATE is Script {
|
||||
|
||||
if (deployedAddress == TARGET_WETH9) {
|
||||
console.log("Successfully deployed WETH9 to target address!");
|
||||
verifyWETH9();
|
||||
verifyWeth9();
|
||||
} else {
|
||||
console.log("Deployed to different address");
|
||||
console.log("Target:", vm.toString(TARGET_WETH9));
|
||||
@@ -58,7 +58,7 @@ contract DeployWETHUsingCREATE is Script {
|
||||
|
||||
if (checkContractExists(TARGET_WETH10)) {
|
||||
console.log("WETH10 already exists at target address");
|
||||
verifyWETH10();
|
||||
verifyWeth10();
|
||||
} else {
|
||||
console.log("Deploying WETH10...");
|
||||
WETH10 weth10 = new WETH10();
|
||||
@@ -67,7 +67,7 @@ contract DeployWETHUsingCREATE is Script {
|
||||
|
||||
if (deployedAddress == TARGET_WETH10) {
|
||||
console.log("Successfully deployed WETH10 to target address!");
|
||||
verifyWETH10();
|
||||
verifyWeth10();
|
||||
} else {
|
||||
console.log("Deployed to different address");
|
||||
console.log("Target:", vm.toString(TARGET_WETH10));
|
||||
@@ -92,14 +92,14 @@ contract DeployWETHUsingCREATE is Script {
|
||||
return size > 0;
|
||||
}
|
||||
|
||||
function verifyWETH9() internal view {
|
||||
function verifyWeth9() internal view {
|
||||
WETH weth = WETH(payable(TARGET_WETH9));
|
||||
console.log("WETH9 name:", weth.name());
|
||||
console.log("WETH9 symbol:", weth.symbol());
|
||||
console.log("WETH9 decimals:", weth.decimals());
|
||||
}
|
||||
|
||||
function verifyWETH10() internal view {
|
||||
function verifyWeth10() internal view {
|
||||
WETH10 weth10 = WETH10(payable(TARGET_WETH10));
|
||||
console.log("WETH10 name:", weth10.name());
|
||||
console.log("WETH10 symbol:", weth10.symbol());
|
||||
|
||||
Reference in New Issue
Block a user