Skip to content

Commit ebdda43

Browse files
fix(evm): deploy proxy account via salt
1 parent 3b975df commit ebdda43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

evm/scripts/Deploy.s.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ abstract contract UnionScript is UnionBase {
189189
);
190190
}
191191

192-
function deployAccount() internal returns (ProxyAccount) {
192+
function deployProxyAccount() internal returns (ProxyAccount) {
193193
return ProxyAccount(
194194
getDeployer().deploy(
195195
LIB_SALT.UCS03_ZKGM_ACCOUNT_IMPL,
@@ -448,7 +448,7 @@ abstract contract UnionScript is UnionBase {
448448
deployStateLensIcs23SmtClient(handler, manager);
449449
PingPong ucs00 = deployUCS00(handler, manager, 100000000000000);
450450
ZkgmERC20 zkgmERC20 = deployZkgmERC20();
451-
ProxyAccount accountImpl = deployAccount();
451+
ProxyAccount accountImpl = deployProxyAccount();
452452
UCS03Zkgm ucs03 =
453453
deployUCS03(handler, manager, zkgmERC20, accountImpl, ucs03Params);
454454
UCS06FundedDispatch ucs06 = deployUCS06(manager);
@@ -724,7 +724,7 @@ contract DeployProxyAccount is UnionScript, VersionedScript {
724724
uint256 privateKey = vm.envUint("PRIVATE_KEY");
725725

726726
vm.startBroadcast(privateKey);
727-
ProxyAccount accountImpl = new ProxyAccount();
727+
ProxyAccount accountImpl = deployProxyAccount();
728728
vm.stopBroadcast();
729729

730730
console.log("ProxyAccount: ", address(accountImpl));

0 commit comments

Comments
 (0)