Skip to content

Commit 519e9c0

Browse files
committed
Format
1 parent 08a92dd commit 519e9c0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

packages/sharing-smart-contract/contracts/__test/DataProtectorSharingV2Mock.sol

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ import {ManageOrders} from "../ManageOrders.sol";
3434
*/
3535

3636
contract DataProtectorSharingV2Mock is DataProtectorSharing {
37-
3837
string public newStorage;
3938

4039
/// @custom:oz-upgrades-unsafe-allow constructor
41-
constructor() DataProtectorSharing(
42-
address(0),
43-
IRegistry(address(0)),
44-
AddOnlyAppWhitelistRegistry(address(0))
45-
) {}
40+
constructor()
41+
DataProtectorSharing(
42+
address(0),
43+
IRegistry(address(0)),
44+
AddOnlyAppWhitelistRegistry(address(0))
45+
)
46+
{}
4647

4748
function initializeV2(string calldata foo) public reinitializer(2) {
4849
newStorage = foo;

packages/sharing-smart-contract/test/e2e/upgrade.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { loadFixture } from '@nomicfoundation/hardhat-toolbox/network-helpers.js';
22
import { expect } from 'chai';
33
import hardhat from 'hardhat';
4-
const { ethers, upgrades } = hardhat;
54
import { createCollection, deploySCFixture } from './utils/loadFixture.test.js';
5+
const { ethers, upgrades } = hardhat;
66

77
// TODO convert to ts.
88
// TODO use typechain for factories.

0 commit comments

Comments
 (0)