File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
6060 const klerosCore = await deployUpgradable ( deployments , "KlerosCoreNeo" , {
6161 from : deployer ,
6262 args : [
63- deployer ,
64- deployer ,
63+ [ deployer , deployer ] ,
6564 pnk . target ,
6665 ZeroAddress , // jurorProsecutionModule is not implemented yet
6766 disputeKit . address ,
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ contract KlerosCoreNeo is KlerosCoreBase {
2828 }
2929
3030 /// @dev Initializer (constructor equivalent for upgradable contracts).
31- /// @param _governor The governor's address.
32- /// @param _guardian The guardian's address.
31+ /// @param _governance Governor and guardian addresses respectively.
3332 /// @param _pinakion The address of the token contract.
3433 /// @param _jurorProsecutionModule The address of the juror prosecution module.
3534 /// @param _disputeKit The address of the default dispute kit.
@@ -41,8 +40,7 @@ contract KlerosCoreNeo is KlerosCoreBase {
4140 /// @param _jurorNft NFT contract to vet the jurors.
4241 /// @param _wNative The wrapped native token address, typically wETH.
4342 function initialize (
44- address _governor ,
45- address _guardian ,
43+ address [2 ] memory _governance ,
4644 IERC20 _pinakion ,
4745 address _jurorProsecutionModule ,
4846 IDisputeKit _disputeKit ,
@@ -55,8 +53,8 @@ contract KlerosCoreNeo is KlerosCoreBase {
5553 address _wNative
5654 ) external reinitializer (2 ) {
5755 __KlerosCoreBase_initialize (
58- _governor,
59- _guardian,
56+ _governance[ 0 ], // governor
57+ _governance[ 1 ], // guardian
6058 _pinakion,
6159 _jurorProsecutionModule,
6260 _disputeKit,
You can’t perform that action at this time.
0 commit comments