forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Prover interface and L1 interface crates (matter-labs#959)
tl;dr: - Removes crypto stuff from `zksync_types` (this was a primary goal for this PR) - Reduces public API surface for general-purpose crates - Introduces `l1_contract_interface` crate for stuff related to interacting with our main L1 contract. - Introduces `prover_interface` crate as a point of interaction between prover and core subsystems. ❕Note: this is not a complete refactoring, there is still a lot of stuff that can be moved to either of these two crates, this will be worked on iteratively. This PR is meant to be just an improvement over what we currently have. Rationale: `l1_contract_interface` and `prover_interface` are currently scattered across several crates (`zksync_types`, most notably) while actually being used only by few. Encapsulating them both reduces the public API surface plus reduces the number of (transitive) dependencies, including getting rid of some heavyweight stuff.
- Loading branch information
Showing
90 changed files
with
1,311 additions
and
1,144 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.