Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Expose state_prove RPC to generate multiproof #7467

Closed
Tracked by #7210
ishantiw opened this issue Sep 1, 2022 · 0 comments · Fixed by #7509
Closed
Tracked by #7210

Expose state_prove RPC to generate multiproof #7467

ishantiw opened this issue Sep 1, 2022 · 0 comments · Fixed by #7509
Assignees
Milestone

Comments

@ishantiw
Copy link
Contributor

ishantiw commented Sep 1, 2022

Description

We need a way to access stateDB and generate proofs for state's sparse merkle tree. Since we cannot access it outside the application, we need a RPC that can generate it for the requestor.

Expose state_prove RPC under state namespace, since this is the first RPC under this namespace so need to initialize class StateEndpoint similar to ConsensusEndpoint under the same folder.

Acceptance Criteria

  • Should have all the unit test for the RPC
  • Should be tested with dpos-mainchain to see if its working with api-client

Additional Information

Related discussion: #7438 (comment)

@ishantiw ishantiw added this to the Sprint 77 milestone Sep 1, 2022
@Incede Incede self-assigned this Sep 6, 2022
@milenagojkovic milenagojkovic modified the milestones: Sprint 77, Sprint 78 Sep 11, 2022
ishantiw added a commit that referenced this issue Sep 12, 2022
 Expose state_prove RPC to generate multiproof - CLoses #7467
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants