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
7 changes: 0 additions & 7 deletions .changeset/sdk-proof-metadata-contract.md

This file was deleted.

8 changes: 8 additions & 0 deletions examples/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @cofhe/example-react

## 1.0.1

### Patch Changes

- Updated dependencies [fcc819c]
- @cofhe/sdk@1.0.1
- @cofhe/react@1.0.1

## 1.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cofhe/example-react",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"scripts": {
"dev": "vite --force",
Expand Down
7 changes: 7 additions & 0 deletions packages/abi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @cofhe/abi Changelog

## 1.0.1

### Patch Changes

- Updated dependencies [fcc819c]
- @cofhe/sdk@1.0.1

## 1.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/abi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/abi",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "ABI utilities for Fhenix FHE contracts",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/foundry-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cofhe/foundry-plugin

## 1.0.1

### Patch Changes

- @cofhe/mock-contracts@1.0.1

## 1.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/foundry-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/foundry-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Foundry plugin for CoFHE — Write and test FHE enabled contracts",
"license": "MIT",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/hardhat-3-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @cofhe/hardhat-3-plugin

## 1.0.1

### Patch Changes

- Updated dependencies [fcc819c]
- @cofhe/sdk@1.0.1
- @cofhe/mock-contracts@1.0.1

## 1.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-3-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/hardhat-3-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Hardhat 3 plugin for CoFHE — deploys mock contracts and wires up the hre.cofhe interface",
"type": "module",
"main": "./dist/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/hardhat-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @cofhe/hardhat-plugin Changelog

## 1.0.1

### Patch Changes

- Updated dependencies [fcc819c]
- @cofhe/sdk@1.0.1
- @cofhe/mock-contracts@1.0.1

## 1.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/hardhat-plugin",
"version": "1.0.0",
"version": "1.0.1",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/mock-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @cofhe/mock-contracts Changelog

## 1.0.1

## 1.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mock-contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/mock-contracts",
"version": "1.0.0",
"version": "1.0.1",
"description": "Mock smart contracts for testing CoFHE with FHE primitives locally",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
8 changes: 8 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @cofhe/react

## 1.0.1

### Patch Changes

- Updated dependencies [fcc819c]
- @cofhe/sdk@1.0.1
- @cofhe/abi@1.0.1

## 1.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/react",
"version": "1.0.0",
"version": "1.0.1",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @cofhe/sdk Changelog

## 1.0.1

### Patch Changes

- fcc819c: **Breaking:** `encryptInputs(...).execute()` now binds the consuming contract into the ZK proof itself, and the CoFHE verifier requires it. Upgrade to 1.0.1: 1.0.0 is deprecated because of an issue in ZK verification, and once the verifier is updated a proof from 1.0.0 fails with `ZK_VERIFY_FAILED`. No code change is needed beyond the upgrade; `setConsumingContract(...)` was already required.

`execute()` now throws `CofheError` with code `CONSUMING_CONTRACT_INVALID` when `setConsumingContract(...)` was given something that is not an address, before TFHE is initialised or any proving starts. The check is byte-level, 20 bytes of hex in any case, and does not validate the EIP-55 checksum, so every address 1.0.0 accepted still passes. Previously the bad address reached the verifier and failed there, after the proof was generated. `CofheErrorCode` gains `ConsumingContractInvalid`; an exhaustive `switch` over the enum needs the new arm.

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofhe/sdk",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "SDK for Fhenix COFHE coprocessor interaction",
"main": "./dist/core.cjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @cofhe/site

## 1.0.1

## 1.0.0

## 0.8.0
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cofhe/site",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"engines": {
"node": ">=22"
Expand Down