Skip to content

Commit b3d19ea

Browse files
authored
fix: deployment script unnecessarily added a trusted policy (#1002)
# Changes Remove the line that adds sponsorshipOperatorContractOnlyJoinPolicy # Why sponsorshipOperatorContractOnlyJoinPolicy isn't given by the Sponsorship deployer (it's added by the factory), so it's not checked against the trustedPolicies, and hence doesn't need to be added as a trusted policy, either # Future work remove the trusted policy in the existing deployments
1 parent 8a6f1a7 commit b3d19ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/network-contracts/scripts/deployTokenomicsContracts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ export default async function deployTokenomicsContracts(
258258
contracts.sponsorshipDefaultLeavePolicy!.address,
259259
contracts.sponsorshipVoteKickPolicy!.address,
260260
contracts.sponsorshipMaxOperatorsJoinPolicy!.address,
261-
contracts.sponsorshipOperatorContractOnlyJoinPolicy!.address,
262261
])).wait()
263262
log("Done adding trusted policies (%s/tx/%s )", blockExplorerUrl, tr1.transactionHash)
264263

0 commit comments

Comments
 (0)