You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Use JSON-RPC for core <> prover interaction (#3626)
## What ❔
Implement communication between proof data handler and gateway through
web sockets.
The workflow:
* Long-living connection is established
* Data handler subscribes for proofs from gateway
* Data handler sends proof generation data to gateway
* On receiving proofs through subscription, data handler saves it's data
and sends a notification to gateway, that proof was successfully
received(to not lose the data in between)
## Why ❔
For the sake of prover cluster, where we will have a single prover
subsystem with multiple sequencers.
## Is this a breaking change?
- [x] Yes
- [ ] No
## Operational changes
Config values:
Prover gateway: ws_port
Proof data handler: api_url, batch_readiness_check_interval_in_secs,
retry_connection_interval_in_secs
## Checklist
<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->
- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
0 commit comments