Skip to content

Commit

Permalink
build: update import paths for Universal Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Feb 6, 2024
1 parent d0d47b4 commit 1fc0925
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import {
OPERATION_4_DELEGATECALL
} from "@erc725/smart-contracts/contracts/constants.sol";

import {UniversalProfileInit} from "../../UniversalProfileInit.sol";
import {
UniversalProfileInit
} from "universalprofile/contracts/UniversalProfileInit.sol";

contract UniversalProfileInitPostDeploymentModule is UniversalProfileInit {
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import {
OPERATION_4_DELEGATECALL
} from "@erc725/smart-contracts/contracts/constants.sol";

import {UniversalProfile} from "../../UniversalProfile.sol";
import {
UniversalProfile
} from "universalprofile/contracts/UniversalProfile.sol";

contract UniversalProfilePostDeploymentModule is UniversalProfile {
constructor() UniversalProfile(address(0)) {}
Expand Down
4 changes: 3 additions & 1 deletion contracts/Mocks/Executor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import {
import {ILSP6KeyManager} from "lsp6/contracts/ILSP6KeyManager.sol";

// modules
import {UniversalProfile} from "../UniversalProfile.sol";
import {
UniversalProfile
} from "universalprofile/contracts/UniversalProfile.sol";
import {LSP6KeyManager} from "lsp6/contracts/LSP6KeyManager.sol";

// constants
Expand Down
4 changes: 3 additions & 1 deletion contracts/Mocks/ExecutorLSP20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import {
} from "@erc725/smart-contracts/contracts/interfaces/IERC725Y.sol";

// modules
import {UniversalProfile} from "../UniversalProfile.sol";
import {
UniversalProfile
} from "universalprofile/contracts/UniversalProfile.sol";

// constants
import {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@
"lsp17": "*",
"lsp17contractextension": "*",
"lsp20": "*",
"lsp25": "*"
"lsp25": "*",
"universalprofile": "*"
},
"devDependencies": {
"@b00ste/hardhat-dodoc": "^0.3.16",
Expand Down
4 changes: 1 addition & 3 deletions packages/UniversalProfile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test": "hardhat test --no-compile tests/*.test.ts",
"test:foundry": "forge test --no-match-test Skip -vvv",
"test:coverage": "hardhat coverage"
"test": "hardhat test --no-compile tests/*.test.ts"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down

0 comments on commit 1fc0925

Please sign in to comment.