File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 2
2
pragma solidity ^ 0.8.29 ;
3
3
4
4
import {Initializable} from "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol " ;
5
- import {Ownable2StepUpgradeable} from "lib/openzeppelin-contracts-upgradeable/contracts/access/Ownable2StepUpgradeable.sol " ;
5
+ import {Ownable2StepUpgradeable} from
6
+ "lib/openzeppelin-contracts-upgradeable/contracts/access/Ownable2StepUpgradeable.sol " ;
6
7
import {Merkle} from "src/lib/Merkle.sol " ;
7
8
import {IVectorx} from "src/interfaces/IVectorx.sol " ;
8
9
import {IAvailAttestation} from "src/interfaces/IAvailAttestation.sol " ;
@@ -13,11 +14,7 @@ import {IAvailAttestation} from "src/interfaces/IAvailAttestation.sol";
13
14
* @notice A data attestation-only bridge contract for Avail blobs
14
15
* @custom:security [email protected]
15
16
*/
16
- contract AvailAttestation is
17
- Initializable ,
18
- Ownable2StepUpgradeable ,
19
- IAvailAttestation
20
- {
17
+ contract AvailAttestation is Initializable , Ownable2StepUpgradeable , IAvailAttestation {
21
18
using Merkle for bytes32 [];
22
19
23
20
IVectorx public vectorx;
@@ -27,10 +24,7 @@ contract AvailAttestation is
27
24
* @param governance Address of the governance multisig
28
25
* @param newVectorx Address of the VectorX contract
29
26
*/
30
- function initialize (
31
- address governance ,
32
- IVectorx newVectorx
33
- ) external initializer {
27
+ function initialize (address governance , IVectorx newVectorx ) external initializer {
34
28
vectorx = newVectorx;
35
29
__Ownable_init (governance);
36
30
}
You can’t perform that action at this time.
0 commit comments