-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Statemanager proof function tree shake (#3672)
* Move proof functions from Merkle sm over to being standalone functions * Remove unneeded parameter from fromMerkleStateProof * Export merkle sm proof functions * Refactor tests to use new standalone sm proof functions * stateManager: Fix linting issues * Make debugger a class field * Move proof functions from verkle sm over to being standalone functions * Remove getProof and verifyProof for the stateless verkle sm * Remove unused accountExists function on RPCSm * Remove accountExists function on RPCStateeManager * Move getProof function of RPCStateManager over to being standalone * Export proof functions from statemanager package * Fix test * Fix and reembed example * Fix getProof rpc method by checking which proof function to use for given sm * Remove getProof and verifyProof from sm interface and fix errors * Fix linting issues * Fix lint issue --------- Co-authored-by: Holger Drewes <Holger.Drewes@gmail.com>
- Loading branch information
Showing
17 changed files
with
454 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.