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
Owner
  • 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 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.
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#306