Skip to content

Commit 97aef3d

Browse files
author
Mike-CZ
committed
Merge SFCLib and SFC contracts
1 parent 5815adb commit 97aef3d

11 files changed

+1374
-1703
lines changed

contracts/interfaces/ISFC.sol

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ interface ISFC {
200200
uint256 sealedEpoch,
201201
uint256 _totalSupply,
202202
address nodeDriver,
203-
address lib,
204203
address consts,
205204
address _owner
206205
) external;

contracts/sfc/NetworkInitializer.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ contract NetworkInitializer {
1212
uint256 sealedEpoch,
1313
uint256 totalSupply,
1414
address payable _sfc,
15-
address _lib,
1615
address _auth,
1716
address _driver,
1817
address _evmWriter,
@@ -40,6 +39,6 @@ contract NetworkInitializer {
4039
consts.updateGasPriceBalancingCounterweight(3600);
4140
consts.transferOwnership(_owner);
4241

43-
ISFC(_sfc).initialize(sealedEpoch, totalSupply, _auth, _lib, address(consts), _owner);
42+
ISFC(_sfc).initialize(sealedEpoch, totalSupply, _auth, address(consts), _owner);
4443
}
4544
}

0 commit comments

Comments
 (0)