Skip to content

Commit

Permalink
Fix: follow naming convention for deployed proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Mar 29, 2024
1 parent 3017119 commit 20af7b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ abstract contract DeployProxy is SynapseScript {
{
require(implementation != address(0), "No implementation provided");
require(proxyAdminOwner != address(0), "No proxy admin owner provided");
// Deploy the proxy and save the artifact with Proxy ABI as ContractName.Proxy
// Deploy the proxy and save the artifact with Proxy ABI as TransparentUpgradeableProxy.ContractName
deployedAt = deployAndSaveAs({
contractName: "TransparentUpgradeableProxy",
contractAlias: contractName.concat(".Proxy"),
contractAlias: string.concat("TransparentUpgradeableProxy.", contractName),
constructorArgs: abi.encode(implementation, proxyAdminOwner, initData),
deployCodeFunc: cdDeployTransparentUpgradeableProxy
});
Expand Down

0 comments on commit 20af7b1

Please sign in to comment.