Skip to content

chore(deps): bump cofhe to v0.5.1 / cofhe-contracts 0.1.3 (Foundry)#12

Merged
0xkkkn merged 1 commit into
mainfrom
chore/fhenix-v0.5-foundry
Apr 27, 2026
Merged

chore(deps): bump cofhe to v0.5.1 / cofhe-contracts 0.1.3 (Foundry)#12
0xkkkn merged 1 commit into
mainfrom
chore/fhenix-v0.5-foundry

Conversation

@0xkkkn

@0xkkkn 0xkkkn commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Replaces #11 (which was based on Hardhat layout, obsolete after #5).

Summary

  • CI forge install: pin cofhe-contracts@v0.1.3, replace standalone cofhe-mock-contracts with cofhesdk@6af05d94 (= @cofhe/sdk@0.5.1 monorepo, contains the consolidated mock-contracts + foundry-plugin)
  • foundry.toml remappings: @cofhe/mock-contracts/ and @cofhe/foundry-plugin/ point into the cofhesdk monorepo
  • reineira.json: drop stale cofhejs / hardhat keys (the repo migrated to Foundry in feat: migrate from Hardhat to Foundry #5), add @cofhe/sdk: ^0.5.1

Test plan

  • forge install resolves all four deps cleanly
  • forge build (exit 0)
  • forge test (15/15 tests pass)
  • CI green

CI:
- forge install FhenixProtocol/cofhe-contracts@v0.1.3 (was unpinned)
- forge install FhenixProtocol/cofhesdk@6af05d94 (= @cofhe/sdk@0.5.1 monorepo) replaces standalone cofhe-mock-contracts

foundry.toml remappings:
- @fhenixprotocol/cofhe-mock-contracts/=lib/cofhe-mock-contracts/contracts/ → @cofhe/mock-contracts/=lib/cofhesdk/packages/mock-contracts/
- Added @cofhe/foundry-plugin/=lib/cofhesdk/packages/foundry-plugin/ (CofheTest helper moved here in v0.5)

reineira.json:
- Removed stale cofhejs / hardhat refs (main migrated to Foundry in #5)
- Added @cofhe/sdk: ^0.5.1, foundry: >=0.2.0

Verified: forge build OK, forge test 15/15 pass.
@0xkkkn 0xkkkn merged commit 6cd9545 into main Apr 27, 2026
3 checks passed
@0xkkkn 0xkkkn deleted the chore/fhenix-v0.5-foundry branch April 27, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant