Change WriteStateDiffAt to async #306

Merged
telackey merged 1 commits from roy/async-writestatediffat into v1.10.26-statediff-v4 2023-01-18 15:40:17 +00:00
Member
  • Changes WriteStateDiffAt to immediately return an integer job ID and process the write asynchronously
  • introduces a StreamWrites subscription endpoint to the API to listen for results

Partial solution for https://github.com/cerc-io/go-ethereum/issues/296

- Changes `WriteStateDiffAt` to immediately return an integer job ID and process the write asynchronously - introduces a `StreamWrites` subscription endpoint to the API to listen for results Partial solution for https://github.com/cerc-io/go-ethereum/issues/296
i-norden reviewed 2023-01-17 18:37:15 +00:00
i-norden left a comment
Member

Looking good, left a comment and we should add some test coverage that captures these changes. The entire api.go needs test coverage but I don't want to tack that on here so we can create a separate issue for that.

Looking good, left a comment and we should add some test coverage that captures these changes. The entire `api.go` needs test coverage but I don't want to tack that on here so we can create a separate issue for that.
roysc reviewed 2023-01-17 21:34:50 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#306
No description provided.