Skip to content

Commit

Permalink
fix: fix initialV2 script of Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
nxqbao committed Nov 9, 2023
1 parent 96656ae commit 466c08a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ async function upgradeDPoSContractSetProposalPart(instance: Instance): Promise<P
target: instance.ProfileProxy!.address,
data: proxyInterface.encodeFunctionData('upgradeToAndCall', [
instance.ProfileLogic!.address,
new Profile__factory().interface.encodeFunctionData('initializeV2', [instance.StakingLogic!.address]),
new Profile__factory().interface.encodeFunctionData('initializeV2', [
instance.StakingLogic!.address,
instance.RoninTrustedOrganizationProxy?.address,
]),
]),
});

Expand Down

0 comments on commit 466c08a

Please sign in to comment.