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: 0 additions & 6 deletions .changeset/cozy-poets-go.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/crisp-buckets-agree.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/nine-seas-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-months-post.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @human-protocol/core

## 6.0.0

### Major Changes

- a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from `KVStore` instead of passing fee values during escrow setup. `Escrow.setup(...)` and factory setup flows no longer accept fee arguments, escrow deployments now require a `KVStore` address, and fee validation is enforced on-chain from `KVStore` values, including per-oracle and total fee limits. Added upgrade-safe `EscrowFactory` support for storing and updating the `KVStore` address.

Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from `setup(...)` and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed `totalAmountPaid` and `averageAmountPerWorker` from `IDailyPayment`.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@human-protocol/core",
"description": "Human Protocol Core Smart Contracts",
"version": "5.0.1",
"version": "6.0.0",
"files": [
"contracts/**/*.sol",
"abis/**/*.json",
Expand Down
16 changes: 16 additions & 0 deletions packages/sdk/python/human-protocol-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @human-protocol/python-sdk

## 7.0.0

### Major Changes

- a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error
- a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from `KVStore` instead of passing fee values during escrow setup. `Escrow.setup(...)` and factory setup flows no longer accept fee arguments, escrow deployments now require a `KVStore` address, and fee validation is enforced on-chain from `KVStore` values, including per-oracle and total fee limits. Added upgrade-safe `EscrowFactory` support for storing and updating the `KVStore` address.

Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from `setup(...)` and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed `totalAmountPaid` and `averageAmountPerWorker` from `IDailyPayment`.

### Patch Changes

- Updated dependencies [a7ab394]
- @human-protocol/core@6.0.0

## 6.1.0

### Minor Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,4 @@ def get_cancellation_refund_by_escrow_query():
}}
}}
{cancellation_refund_fragment}
""".format(
cancellation_refund_fragment=cancellation_refund_fragment
)
""".format(cancellation_refund_fragment=cancellation_refund_fragment)
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ def get_escrow_query():
}}
}}
{escrow_fragment}
""".format(
escrow_fragment=escrow_fragment
)
""".format(escrow_fragment=escrow_fragment)


def get_status_query(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@
}}
}}
{reward_added_event_fragment}
""".format(
reward_added_event_fragment=reward_added_event_fragment
)
""".format(reward_added_event_fragment=reward_added_event_fragment)
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,4 @@ def get_transaction_query() -> str:
}}
}}
{transaction_fragment}
""".format(
transaction_fragment=transaction_fragment
)
""".format(transaction_fragment=transaction_fragment)
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ def get_worker_query() -> str:
}}
}}
{worker_fragment}
""".format(
worker_fragment=worker_fragment
)
""".format(worker_fragment=worker_fragment)


def get_workers_query(filter: WorkerFilter) -> str:
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/python/human-protocol-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@human-protocol/python-sdk",
"version": "6.1.0",
"version": "7.0.0",
"private": true,
"description": "Stub package to integrate the Python SDK with Changesets (dev-only).",
"license": "MIT",
Expand Down
21 changes: 21 additions & 0 deletions packages/sdk/typescript/human-protocol-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @human-protocol/sdk

## 7.0.0

### Major Changes

- a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error
- a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from `KVStore` instead of passing fee values during escrow setup. `Escrow.setup(...)` and factory setup flows no longer accept fee arguments, escrow deployments now require a `KVStore` address, and fee validation is enforced on-chain from `KVStore` values, including per-oracle and total fee limits. Added upgrade-safe `EscrowFactory` support for storing and updating the `KVStore` address.

Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from `setup(...)` and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed `totalAmountPaid` and `averageAmountPerWorker` from `IDailyPayment`.

### Minor Changes

- a31cfc8: Added typed subgraph errors (SubgraphRequestError, SubgraphBadIndexerError) and wrapped subgraph request failures with these classes

### Patch Changes

- c50fc7e: Split combined domain files into module folders with explicit files per responsibility.
- Updated dependencies [a7ab394]
- @human-protocol/core@6.0.0

## 6.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/typescript/human-protocol-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@human-protocol/sdk",
"description": "Human Protocol SDK",
"version": "6.1.0",
"version": "7.0.0",
"files": [
"src",
"dist"
Expand Down
Loading