Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Split the rest of the zksync_core #1940

Merged
merged 21 commits into from
May 16, 2024

Conversation

popzxc
Copy link
Member

@popzxc popzxc commented May 15, 2024

Extracts remaining (strategically meaningful) parts of zksync_core.

This was a hell of a feat to de-entangle all of these interdependencies (especially in tests, oh boy).
The following crates were extracted:

  • zksync_node_test_utils
  • zksync_state_keeper
  • zksync_reorg_detector
  • zksync_consistency_checker
  • zksync_metadata_calculator
  • zksync_node_sync
  • zksync_node_consensus
  • zksync_contract_verification_server
  • zksync_node_api_server
  • zksync_tee_verifier_input_producer

Contents of zksync_core::utils were moved to other places.
zksync_core was renamed to zksync_core_leftovers (and will be removed when we migrate to the framework).

⚠️ this is not a perfect PR. In some places, moving stuff to another location may not be fully idiomatic. In other places, the visibility of many items could've been reduced. However, it was TOUGH to get this PR even to this form, so let's focus on major issues. All the minor things are to be polished later.

Once this is merged, I'll also update settings for infra to enable logs for new crates.

@popzxc popzxc marked this pull request as ready for review May 15, 2024 11:57
Cargo.toml Show resolved Hide resolved
@popzxc popzxc added this pull request to the merge queue May 16, 2024
Merged via the queue into main with commit e10bbdd May 16, 2024
50 checks passed
@popzxc popzxc deleted the popzxc-further-split-zksync-core branch May 16, 2024 06:03
github-merge-queue bot pushed a commit that referenced this pull request Sep 25, 2024
….rs" (#2945)

## What ❔

This PR fixes 2 invalid links in the documents which was caused by
refactor (refactor: Split the rest of the zksync_core
(#1940))

## Why ❔

Unclarity in documentation

## Checklist

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants