Skip to content

Commit

Permalink
build: add lsp25 as dependency at root + remove LSP25 unecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Jan 19, 2024
1 parent b21c17f commit 62e2295
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 33 deletions.
6 changes: 3 additions & 3 deletions contracts/LSP6KeyManager/LSP6KeyManagerCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
} from "../LSP20CallVerification/ILSP20CallVerifier.sol";
import {
ILSP25ExecuteRelayCall as ILSP25
} from "../../packages/LSP25ExecuteRelayCall/contracts/ILSP25ExecuteRelayCall.sol";
lsp25/contracts/ILSP25ExecuteRelayCall.sol";
// modules
import {ILSP14Ownable2Step} from "../LSP14Ownable2Step/ILSP14Ownable2Step.sol";
Expand All @@ -29,7 +29,7 @@ import {
import {LSP6OwnershipModule} from "./LSP6Modules/LSP6OwnershipModule.sol";
import {
LSP25MultiChannelNonce
} from "../../packages/LSP25ExecuteRelayCall/contracts/LSP25MultiChannelNonce.sol";
lsp25/contracts/LSP25MultiChannelNonce.sol";

// libraries
import {BytesLib} from "solidity-bytes-utils/contracts/BytesLib.sol";
Expand Down Expand Up @@ -71,7 +71,7 @@ import {
} from "../LSP20CallVerification/LSP20Constants.sol";
import {
_INTERFACEID_LSP25
} from "../../packages/LSP25ExecuteRelayCall/contracts/LSP25Constants.sol";
lsp25/contracts/LSP25Constants.sol";
/**
* @title Core implementation of the LSP6 Key Manager standard.
Expand Down
4 changes: 2 additions & 2 deletions contracts/Mocks/ERC165Interfaces.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import {
} from "../LSP20CallVerification/ILSP20CallVerifier.sol";
import {
ILSP25ExecuteRelayCall as ILSP25
} from "../../packages/LSP25ExecuteRelayCall/contracts/ILSP25ExecuteRelayCall.sol";
lsp25/contracts/ILSP25ExecuteRelayCall.sol";
// constants
import {_INTERFACEID_LSP0} from "../LSP0ERC725Account/LSP0Constants.sol";
Expand Down Expand Up @@ -85,7 +85,7 @@ import {
} from "../LSP20CallVerification/LSP20Constants.sol";
import {
_INTERFACEID_LSP25
} from "../../packages/LSP25ExecuteRelayCall/contracts/LSP25Constants.sol";
lsp25/contracts/LSP25Constants.sol";

// libraries
import {
Expand Down
2 changes: 1 addition & 1 deletion contracts/Mocks/Reentrancy/BatchReentrancyRelayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.4;
// interfaces
import {
ILSP25ExecuteRelayCall
} from "../../../packages/LSP25ExecuteRelayCall/contracts/ILSP25ExecuteRelayCall.sol";
lsp25/contracts/ILSP25ExecuteRelayCall.sol";
contract BatchReentrancyRelayer {
bytes[] private _signatures;
Expand Down
2 changes: 1 addition & 1 deletion contracts/Mocks/Reentrancy/SingleReentrancyRelayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.4;
// interfaces
import {
ILSP25ExecuteRelayCall
} from "../../../packages/LSP25ExecuteRelayCall/contracts/ILSP25ExecuteRelayCall.sol";
lsp25/contracts/ILSP25ExecuteRelayCall.sol";
contract SingleReentrancyRelayer {
bytes private _signature;
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
"@erc725/smart-contracts": "^7.0.0",
"@openzeppelin/contracts": "^4.9.2",
"@openzeppelin/contracts-upgradeable": "^4.9.2",
"solidity-bytes-utils": "0.8.0"
"solidity-bytes-utils": "0.8.0",
"lsp25": "*"
},
"devDependencies": {
"@b00ste/hardhat-dodoc": "^0.3.15",
Expand Down
3 changes: 0 additions & 3 deletions packages/LSP25ExecuteRelayCall/.gitmodules

This file was deleted.

10 changes: 0 additions & 10 deletions packages/LSP25ExecuteRelayCall/foundry.toml

This file was deleted.

9 changes: 0 additions & 9 deletions packages/LSP25ExecuteRelayCall/remappings.txt

This file was deleted.

5 changes: 2 additions & 3 deletions template/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lsp25",
"name": "lspN",
"version": "0.12.1",
"description": "Package for the LSP25 Execute Relay Call standard",
"description": "Package for the LSPN <write the standard name here> standard",
"license": "Apache-2.0",
"author": "",
"keywords": [
Expand All @@ -21,7 +21,6 @@
"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"
},
"dependencies": {
Expand Down

0 comments on commit 62e2295

Please sign in to comment.