Skip to content

Comments

chore: merge into main#454

Merged
signature18632 merged 3 commits intomainfrom
apply-stage
Aug 16, 2025
Merged

chore: merge into main#454
signature18632 merged 3 commits intomainfrom
apply-stage

Conversation

@kbizikav
Copy link
Collaborator

No description provided.

kbizikav and others added 3 commits August 12, 2025 10:55
* chore: update intmax2-zkp deps

* feat: delete circuit dependency

* feat: add some data

* docs: update readme & testdata

* chore: update proof

* chore: fix limb error
* feat: entry status replace

* feat: wip strategy replacement

* feat: impl seperate group

* feat: optional cursor

* feat: impl fetch batch

* feat: impl fetch batch wasm

---------

Co-authored-by: kbizikav <132550763+kbizikav@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 16, 2025 05:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the project's history and strategy modules to unify data handling patterns and simplifies gnark-server configuration. The key changes include moving from separate settled/pending/timeout structures to a unified history entry system and removing circuit-specific configurations in favor of a single configuration.

  • Unified history entry system with EntryStatus enum replacing separate category structures
  • Removed circuit-specific parameters from gnark-server, consolidating to single configuration
  • Added batch fetching functionality for history entries

Reviewed Changes

Copilot reviewed 30 out of 39 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
wasm/src/js_types/history.rs Updates import path for EntryStatus and HistoryEntry types
wasm/src/history.rs Adds batch fetching functions for deposits, transfers, and transactions
job-servers/gnark-server/utils/pis.go Adds CalculateInputDigest function for public input validation
job-servers/gnark-server/setup/main.go Removes circuit-specific command line parameters and paths
job-servers/gnark-server/main.go Removes circuit parameter requirement
job-servers/gnark-server/handlers/prove.go Adds verifier data parameter and input hash calculation
client-sdk/src/client/strategy/*.rs Refactors to use unified HistoryEntry system instead of separate structures
client-sdk/src/client/history.rs Simplifies history fetching by leveraging unified entry system
client-sdk/src/client/client.rs Updates to use new unified history structures

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@signature18632 signature18632 merged commit 96b3563 into main Aug 16, 2025
@signature18632 signature18632 deleted the apply-stage branch August 16, 2025 05:41
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.

3 participants