Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Install dependencies
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts FhenixProtocol/cofhe-mock-contracts OpenZeppelin/openzeppelin-foundry-upgrades
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts@v0.1.3 FhenixProtocol/cofhesdk@6af05d94 OpenZeppelin/openzeppelin-foundry-upgrades

- name: Check formatting
run: forge fmt --check
Expand All @@ -50,7 +50,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Install dependencies
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts FhenixProtocol/cofhe-mock-contracts OpenZeppelin/openzeppelin-foundry-upgrades
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts@v0.1.3 FhenixProtocol/cofhesdk@6af05d94 OpenZeppelin/openzeppelin-foundry-upgrades

- name: Compile contracts
run: forge build --sizes
Expand All @@ -67,7 +67,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Install dependencies
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts FhenixProtocol/cofhe-mock-contracts OpenZeppelin/openzeppelin-foundry-upgrades
run: forge install --no-git foundry-rs/forge-std OpenZeppelin/openzeppelin-contracts@v5.4.0 FhenixProtocol/cofhe-contracts@v0.1.3 FhenixProtocol/cofhesdk@6af05d94 OpenZeppelin/openzeppelin-foundry-upgrades

- name: Run tests
run: forge test -vvv
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ remappings = [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@fhenixprotocol/cofhe-contracts/=lib/cofhe-contracts/contracts/",
"@fhenixprotocol/cofhe-mock-contracts/=lib/cofhe-mock-contracts/contracts/",
"@cofhe/mock-contracts/=lib/cofhesdk/packages/mock-contracts/",
"@cofhe/foundry-plugin/=lib/cofhesdk/packages/foundry-plugin/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"forge-std/=lib/forge-std/src/"
]
Expand Down
4 changes: 2 additions & 2 deletions reineira.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"sdk": "^0.1.0",
"contracts": "0.1",
"solidity": "^0.8.24",
"hardhat": "~2.26.0",
"cofhejs": "^0.3.1"
"foundry": ">=0.2.0",
"@cofhe/sdk": "^0.5.1"
},
"interfaces": {
"IConditionResolver": "isConditionMet(uint256) + onConditionSet(uint256,bytes)",
Expand Down
Loading