Skip to content

[EPIC] v0.7.x#657

Draft
derekpierre wants to merge 340 commits intomainfrom
epic-v0.7.x
Draft

[EPIC] v0.7.x#657
derekpierre wants to merge 340 commits intomainfrom
epic-v0.7.x

Conversation

@derekpierre
Copy link
Copy Markdown
Member

@derekpierre derekpierre commented May 8, 2025

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

Issues fixed/closed:

  • Fixes #...

Why it's needed:

Explain how this PR fits in the greater context of the NuCypher Network. E.g.,
if this PR address a nucypher/productdev issue, let reviewers know!

Notes for reviewers:

What should reviewers focus on? Is there a particular commit/function/section
of your PR that requires more attention from reviewers?

@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2025

Deploy Preview for taco-demo canceled.

Name Link
🔨 Latest commit 760969f
🔍 Latest deploy log https://app.netlify.com/projects/taco-demo/deploys/69e7c07c90f98100089520c9

@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2025

Deploy Preview for taco-nft-demo canceled.

Name Link
🔨 Latest commit 760969f
🔍 Latest deploy log https://app.netlify.com/projects/taco-nft-demo/deploys/69e7c07d599ba00008b76498

theref and others added 27 commits April 10, 2026 08:52
- Remove returnAggregated options from test calls
- Update function calls to match new signUserOp signature
- Remove unused options variable from test
- Remove returnAggregated option from signUserOp call in integration test
- Change aggregation logic from length > 0 to length >= threshold
- Ensures aggregated signature only provided with sufficient signatures
- Fix existing test expectation for insufficient signatures case
- Add new test to verify no aggregation when threshold not met
- Ensure test coverage for both threshold met and unmet scenarios
Move operator test from time.test.ts to return-value-test.test.ts.
…est should be specified).

Improve human abi call signature validation check (wondering if there is a library out there that already does this) - there is one in python.
…s, and parameter and tuple indices.

Add corresponding tests.
…ition objects to anyConditionSchema and to ConditionFactory resolution.
- Remove throw for mismatched message hashes
- Include signature processing errors in result errors instead
- Add try-catch for signature decoding failures
- Continue processing other signatures when one fails
- Let caller decide how to handle errors based on SignResult
- Change mismatched hash test to expect error in result instead of thrown
- Verify result contains partial signatures and error details
- Test that processing continues with valid signatures despite errors
- Add SigningOptions parameter with optimistic flag
- Extract signature decoding logic to eliminate duplication
- Optimistic mode: skip hash validation, use all signatures
- Non-optimistic mode: validate hashes, only aggregate when threshold+ nodes agree
- All signatures included in signingResults regardless of mode
- Add comprehensive test coverage for new optimistic signing logic
- Update existing test expectations for new signing behavior
…ed entry that never needs to be provided by the user/application.

It is never included in the list of requested parameters, nor can it be added by the user/application.
Ensure that the signing object context variable string itself can't be reused as a custom context variable.
…s. It is both a reserved context param and an automatically injected param.
derekpierre and others added 13 commits April 10, 2026 09:02
…dices

Idiomatic TypeScript prefers undefined over null for absent values.
Addresses PR review feedback.
Don't include node v25 which has a change where node's built-in localStorage can interfere with the browser-like one.
The existing schema-docs-generation script produces a human-readable
markdown reference for condition schemas. This adds a sibling output
that emits a standard JSON Schema document for the full
ConditionExpression envelope ({version, condition}).

Editors that understand $schema (VS Code, JetBrains, Cursor) and LLMs
both consume this format directly, giving inline validation,
autocomplete, and structured output for any conditions.json file
without depending on @nucypher/taco at runtime.

The lazy union root (anyConditionSchema) is wrapped in the
ConditionExpression shape so the schema validates the same shape that
ConditionExpression.fromObj parses.

BigInt bounds (uint256 ranges) are stripped during serialization
because standard JSON Schema requires numeric bounds; the integer
type constraint still applies.

The markdown output also picks up an unrelated description-text
refresh from regenerating against the current schemas.
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.

4 participants