Skip to content

Commit e3f45b2

Browse files
committed
Add note for helper fn
1 parent 102afdf commit e3f45b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/solidity/src/signer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ export function addSigner(c: ContractBuilder, signer: SignerOptions, upgradeable
5959
* Adds a locking constructor that disables initializers and annotates it to allow reachable constructors during Upgrades Plugins validations,
6060
* which includes constructors in parent contracts.
6161
*
62+
* IMPORTANT: If a locking constructor is already present, it will not be added again, even if the body comments are different.
63+
*
6264
* @param c The contract builder.
6365
* @param bodyComments Optional comments to add to the constructor body, before disabling initializers.
6466
*/

0 commit comments

Comments
 (0)