chore: sync submodule state (parent ref update)

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-02 12:14:09 -08:00
parent 50ab378da9
commit 5efe36b1e0
1100 changed files with 155024 additions and 8674 deletions

View File

@@ -28,7 +28,7 @@ contract DeployWETHToGenesisAddresses 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...");
deployWETH9Direct();
@@ -36,7 +36,7 @@ contract DeployWETHToGenesisAddresses is Script {
if (checkContractExists(TARGET_WETH10)) {
console.log("WETH10 already exists at target address");
verifyWETH10();
verifyWeth10();
} else {
console.log("Deploying WETH10...");
deployWETH10Direct();
@@ -74,7 +74,7 @@ contract DeployWETHToGenesisAddresses is Script {
// Verify deployment
if (checkContractExists(TARGET_WETH9)) {
console.log("Successfully deployed WETH9 to target address!");
verifyWETH9();
verifyWeth9();
} else {
console.log("Failed to deploy WETH9 - address may not be empty or vm.etch not available");
}
@@ -82,8 +82,8 @@ contract DeployWETHToGenesisAddresses is Script {
function deployWETH10Direct() internal {
// Deploy to a temporary address first to get the deployed bytecode
WETH10 tempWETH10 = new WETH10();
address tempAddress = address(tempWETH10);
WETH10 tempWeth10 = new WETH10();
address tempAddress = address(tempWeth10);
// Get deployed bytecode from the chain
bytes memory deployedBytecode;
@@ -106,7 +106,7 @@ contract DeployWETHToGenesisAddresses is Script {
// Verify deployment
if (checkContractExists(TARGET_WETH10)) {
console.log("Successfully deployed WETH10 to target address!");
verifyWETH10();
verifyWeth10();
} else {
console.log("Failed to deploy WETH10 - address may not be empty or vm.etch not available");
}
@@ -120,14 +120,14 @@ contract DeployWETHToGenesisAddresses 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());