Skip to content

Commit

Permalink
re-org files to avoid migration conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
soloseng committed Jan 16, 2024
1 parent 67052f6 commit 4384018
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
pragma solidity ^0.5.13;

import "@celo-contracts/common/linkedlists/IntegerSortedLinkedList.sol";
// TODO: move file to @test-sol/governance/validator when migrations is moved to foundry.

import "../linkedlists/IntegerSortedLinkedList.sol";

contract IntegerSortedLinkedListMock {
using IntegerSortedLinkedList for SortedLinkedList.List;
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/migrationsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ const linkedLibraries = {
Proposals: ['Governance'],
AddressLinkedList: ['Validators', 'ValidatorsTest'],
AddressSortedLinkedList: ['Election', 'ElectionTest'],
IntegerSortedLinkedList: ['Governance', 'IntegerSortedLinkedListTest'],
IntegerSortedLinkedList: ['Governance', 'IntegerSortedLinkedListMock'],
AddressSortedLinkedListWithMedian: ['SortedOracles', 'AddressSortedLinkedListWithMedianTest'],
Signatures: [
'Accounts',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity ^0.5.13;

import "celo-foundry/Test.sol";

import "@test-sol/governance/validators/IntegerSortedLinkedListMock.sol";
import "@celo-contracts/common/test/IntegerSortedLinkedListMock.sol";

contract IntegerSortedLinkedListTest is Test {
IntegerSortedLinkedListMock public integerSortedLinkedListMock;
Expand Down

0 comments on commit 4384018

Please sign in to comment.