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)
60
60
const klerosCore = await deployUpgradable ( deployments , "KlerosCoreNeo" , {
61
61
from : deployer ,
62
62
args : [
63
- deployer ,
64
- deployer ,
63
+ [ deployer , deployer ] ,
65
64
pnk . target ,
66
65
ZeroAddress , // jurorProsecutionModule is not implemented yet
67
66
disputeKit . address ,
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ contract KlerosCoreNeo is KlerosCoreBase {
28
28
}
29
29
30
30
/// @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.
33
32
/// @param _pinakion The address of the token contract.
34
33
/// @param _jurorProsecutionModule The address of the juror prosecution module.
35
34
/// @param _disputeKit The address of the default dispute kit.
@@ -41,8 +40,7 @@ contract KlerosCoreNeo is KlerosCoreBase {
41
40
/// @param _jurorNft NFT contract to vet the jurors.
42
41
/// @param _wNative The wrapped native token address, typically wETH.
43
42
function initialize (
44
- address _governor ,
45
- address _guardian ,
43
+ address [2 ] memory _governance ,
46
44
IERC20 _pinakion ,
47
45
address _jurorProsecutionModule ,
48
46
IDisputeKit _disputeKit ,
@@ -55,8 +53,8 @@ contract KlerosCoreNeo is KlerosCoreBase {
55
53
address _wNative
56
54
) external reinitializer (2 ) {
57
55
__KlerosCoreBase_initialize (
58
- _governor,
59
- _guardian,
56
+ _governance[ 0 ], // governor
57
+ _governance[ 1 ], // guardian
60
58
_pinakion,
61
59
_jurorProsecutionModule,
62
60
_disputeKit,
You can’t perform that action at this time.
0 commit comments