File tree Expand file tree Collapse file tree 7 files changed +44
-2
lines changed
governance/xc_admin/packages/xc_admin_common/src Expand file tree Collapse file tree 7 files changed +44
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1279
1279
"rpcUrl" : " https://rpc.camp.raas.gelato.cloud" ,
1280
1280
"networkId" : 484 ,
1281
1281
"type" : " EvmChain"
1282
+ },
1283
+ {
1284
+ "id" : " ethereal_devnet" ,
1285
+ "mainnet" : false ,
1286
+ "rpcUrl" : " https://rpc-ethereal-devnet-0.t.conduit.xyz/" ,
1287
+ "networkId" : 13374201 ,
1288
+ "type" : " EvmChain"
1289
+ },
1290
+ {
1291
+ "id" : " ethereal_testnet_v2" ,
1292
+ "mainnet" : false ,
1293
+ "rpcUrl" : " https://rpc-ethereal-testnet-0.t.conduit.xyz" ,
1294
+ "networkId" : 13374202 ,
1295
+ "type" : " EvmChain"
1282
1296
}
1283
1297
]
Original file line number Diff line number Diff line change 208
208
"chain" : " polynomial" ,
209
209
"address" : " 0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509" ,
210
210
"type" : " EvmExecutorContract"
211
+ },
212
+ {
213
+ "chain" : " ethereal_devnet" ,
214
+ "address" : " 0x2880aB155794e7179c9eE2e38200202908C17B43" ,
215
+ "type" : " EvmExecutorContract"
216
+ },
217
+ {
218
+ "chain" : " ethereal_testnet_v2" ,
219
+ "address" : " 0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc" ,
220
+ "type" : " EvmExecutorContract"
211
221
}
212
- ]
222
+ ]
Original file line number Diff line number Diff line change 848
848
"chain" : " camp_network" ,
849
849
"address" : " 0xb27e5ca259702f209a29225d0eDdC131039C9933" ,
850
850
"type" : " EvmWormholeContract"
851
+ },
852
+ {
853
+ "chain" : " ethereal_devnet" ,
854
+ "address" : " 0xb27e5ca259702f209a29225d0eDdC131039C9933" ,
855
+ "type" : " EvmWormholeContract"
856
+ },
857
+ {
858
+ "chain" : " ethereal_testnet_v2" ,
859
+ "address" : " 0x66E9cBa5529824a03B5Bc9931d9c63637101D0F7" ,
860
+ "type" : " EvmWormholeContract"
851
861
}
852
862
]
Original file line number Diff line number Diff line change @@ -249,6 +249,8 @@ export const RECEIVER_CHAINS = {
249
249
hemi_testnet : 50125 ,
250
250
injective_evm_testnet : 50126 ,
251
251
ethereal_testnet : 50127 ,
252
+ ethereal_devnet : 50128 ,
253
+ ethereal_testnet_v2 : 50129 ,
252
254
} ;
253
255
254
256
// If there is any overlapping value the receiver chain will replace the wormhole
Original file line number Diff line number Diff line change 6
6
! /broadcast
7
7
/broadcast /* /31337 /
8
8
/broadcast /** /dry-run /
9
+ /broadcast /**
9
10
10
11
# Docs
11
12
docs /
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ contract PythLazerChangeOwnership is Script {
30
30
address (0xACeA761c27A909d4D3895128EBe6370FDE2dF481 );
31
31
32
32
// Private key of the current owner, loaded from environment variable
33
- uint256 public OLD_OWNER_PRIVATE_KEY = vm.envUint ("DEPLOYER_PRIVATE_KEY " );
33
+ uint256 public OLD_OWNER_PRIVATE_KEY = vm.envUint ("PK " );
34
34
// Current owner address, derived from private key
35
35
address public OLD_OWNER = vm.addr (OLD_OWNER_PRIVATE_KEY);
36
36
// Address of the new owner (should be the deployed executor contract)
@@ -47,18 +47,23 @@ contract PythLazerChangeOwnership is Script {
47
47
48
48
// Get the PythLazer contract instance at the proxy address
49
49
PythLazer lazer = PythLazer (LAZER_PROXY_ADDRESS);
50
+
50
51
// Start broadcasting transactions as the old owner
51
52
vm.startBroadcast (OLD_OWNER_PRIVATE_KEY);
53
+
52
54
// Ensure the current owner matches the expected old owner
53
55
require (lazer.owner () == OLD_OWNER, "Old owner mismatch " );
56
+
54
57
// Transfer ownership to the new owner (executor contract)
55
58
lazer.transferOwnership (NEW_OWNER);
56
59
console.log ("Ownership transferred " );
60
+
57
61
// Log the new owner for verification
58
62
console.log (
59
63
"New Lazer owner: %s " ,
60
64
PythLazer (LAZER_PROXY_ADDRESS).owner ()
61
65
);
66
+
62
67
// Stop broadcasting
63
68
vm.stopBroadcast ();
64
69
}
You can’t perform that action at this time.
0 commit comments