Skip to content

Commit 5e97464

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evm/scripts/Deploy.s.sol

Lines changed: 2 additions & 2 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,
@@ -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)