Skip to content

Commit 4cb0531

Browse files
committed
Deduplicate src files
1 parent ff164eb commit 4cb0531

20 files changed

+11
-179
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/lib/openzeppelin"]
2+
path = src/lib/openzeppelin
3+
url = https://github.com/OpenZeppelin/openzeppelin-contracts

gnosh_orig/.gitmodules

Lines changed: 0 additions & 6 deletions
This file was deleted.

gnosh_orig/lib/forge-std

Lines changed: 0 additions & 1 deletion
This file was deleted.

gnosh_orig/src/KeyBroadcastContract.sol

Lines changed: 0 additions & 37 deletions
This file was deleted.

gnosh_orig/src/KeyperSet.sol

Lines changed: 0 additions & 67 deletions
This file was deleted.

gnosh_orig/src/KeyperSetManager.sol

Lines changed: 0 additions & 54 deletions
This file was deleted.

shop_orig/.gitmodules

Lines changed: 0 additions & 6 deletions
This file was deleted.

shop_orig/src/EonKeyPublish.sol renamed to src/common/EonKeyPublish.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.22;
33

4-
import "src/KeyBroadcastContract.sol";
4+
import "./KeyBroadcastContract.sol";
55

66
error AlreadyVoted();
77

shop_orig/src/KeyBroadcastContract.sol renamed to src/common/KeyBroadcastContract.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.22;
33

4-
import "src/KeyperSetManager.sol";
5-
import "src/KeyperSet.sol";
4+
import "./KeyperSetManager.sol";
5+
import "./KeyperSet.sol";
66

77
error InvalidKey();
88
error NotAllowed();

shop_orig/src/KeyperSet.sol renamed to src/common/KeyperSet.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.22;
33

4-
import "openzeppelin/contracts/access/Ownable.sol";
4+
import "./lib/openzeppelin/contracts/access/Ownable.sol";
55

66
error AlreadyFinalized();
77
error NotRegistered();

0 commit comments

Comments
 (0)