From 2f94b87faa032d21fd057141af06ade9f58430ca Mon Sep 17 00:00:00 2001 From: JOY <5027251+JOY@users.noreply.github.com> Date: Sat, 22 Aug 2026 14:41:26 +0700 Subject: [PATCH] fix: restore Testnet deployer role --- contracts/script/foundry/DeployDOSTestnet.s.sol | 2 +- contracts/script/foundry/Invoke-DeployDOSTestnet.ps1 | 2 +- contracts/test/unit/testnet/WrappedDOS.t.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/script/foundry/DeployDOSTestnet.s.sol b/contracts/script/foundry/DeployDOSTestnet.s.sol index 99ad0b8b..b54fcd3d 100644 --- a/contracts/script/foundry/DeployDOSTestnet.s.sol +++ b/contracts/script/foundry/DeployDOSTestnet.s.sol @@ -23,7 +23,7 @@ import {LibLabel} from "~src/utils/LibLabel.sol"; /// @notice Deploys a standard wrapped-native WDOS token and the complete `.dos` ENSv2 stack. contract DeployDOSTestnet is DeployDOS { uint256 internal constant EXPECTED_CHAIN_ID = 3939; - address internal constant EXPECTED_DEPLOYER = 0x310Bc061214ee89aF5CfB28a6ebF96c5436fa3CD; + address internal constant EXPECTED_DEPLOYER = 0x99999e454138f6be73E2bE82c890bc5765749999; address internal constant EXPECTED_OWNER = 0x310Bc061214ee89aF5CfB28a6ebF96c5436fa3CD; uint256 internal constant MIN_DEPLOYMENT_BALANCE = 1 ether; string internal constant BENS_SMOKE_LABEL = "bens-smoke"; diff --git a/contracts/script/foundry/Invoke-DeployDOSTestnet.ps1 b/contracts/script/foundry/Invoke-DeployDOSTestnet.ps1 index 1f53d544..1ddee1dd 100644 --- a/contracts/script/foundry/Invoke-DeployDOSTestnet.ps1 +++ b/contracts/script/foundry/Invoke-DeployDOSTestnet.ps1 @@ -10,7 +10,7 @@ $ErrorActionPreference = "Stop" $expectedRpcUrl = "https://test.doschain.com" $expectedChainId = 3939 $expectedGenesisHash = "0x1f6dd88694681d79a3a56313f59de56b1b6555c8e06a2ef377084f1e897feef4" -$expectedDeployer = "0x310bc061214ee89af5cfb28a6ebf96c5436fa3cd" +$expectedDeployer = "0x99999e454138f6be73e2be82c890bc5765749999" $expectedOwner = "0x310bc061214ee89af5cfb28a6ebf96c5436fa3cd" $minimumBalanceWei = [System.Numerics.BigInteger]::Parse("1000000000000000000") diff --git a/contracts/test/unit/testnet/WrappedDOS.t.sol b/contracts/test/unit/testnet/WrappedDOS.t.sol index 00db2fd0..69ae6b78 100644 --- a/contracts/test/unit/testnet/WrappedDOS.t.sol +++ b/contracts/test/unit/testnet/WrappedDOS.t.sol @@ -23,7 +23,7 @@ contract WrappedDOSTest is Test { bytes32 internal constant ADDR_CHANGED_TOPIC = keccak256("AddrChanged(bytes32,address)"); bytes32 internal constant ADDRESS_CHANGED_TOPIC = keccak256("AddressChanged(bytes32,uint256,bytes)"); - address internal constant TESTNET_DEPLOYER = 0x310Bc061214ee89aF5CfB28a6ebF96c5436fa3CD; + address internal constant TESTNET_DEPLOYER = 0x99999e454138f6be73E2bE82c890bc5765749999; address internal constant PROTOCOL_OWNER = 0x310Bc061214ee89aF5CfB28a6ebF96c5436fa3CD; WrappedDOS internal wdos; address internal holder = makeAddr("holder");