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: Rename miniblock to l2 block – base + state keeper #1696

Merged
merged 14 commits into from
Apr 18, 2024

Conversation

slowli
Copy link
Contributor

@slowli slowli commented Apr 16, 2024

What ❔

Renames "miniblock" to "L2 block" in types, DAL and state keeper.

Why ❔

  • "Miniblock" is an internal term that is somewhat difficult to understand; "L2 block" is better in this regard.
  • It makes sense for renaming to be complete (i.e., not only concern logs, but also the codebase), so that naming is reasonably consistent.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.
  • Spellcheck has been run via zk spellcheck.
  • Linkcheck has been run via zk linkcheck.

@slowli slowli force-pushed the aov-pla-882-rename-miniblock-to-l2-block branch from da7372f to 41527ba Compare April 16, 2024 08:52
@slowli slowli marked this pull request as ready for review April 16, 2024 10:28
@slowli
Copy link
Contributor Author

slowli commented Apr 16, 2024

May be obvious: if this approach is OK, I plan to create smaller follow-up PRs to change naming in other components.

perekopskiy
perekopskiy previously approved these changes Apr 18, 2024
Copy link
Contributor

@perekopskiy perekopskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@slowli slowli added this pull request to the merge queue Apr 18, 2024
Merged via the queue into main with commit 178a018 Apr 18, 2024
40 of 41 checks passed
@slowli slowli deleted the aov-pla-882-rename-miniblock-to-l2-block branch April 18, 2024 12:57
@EmilLuta
Copy link
Contributor

I love the idea. I wonder, how can we backfill things that are leftover (as you mentioned DB, APIs, etc.) This is a question for a broader group, though. cc: @RomanBrodetski

github-merge-queue bot pushed a commit that referenced this pull request Apr 19, 2024
## What ❔

Renames "miniblock" to "L2 block" in libraries (i.e., `core/lib` crates
with the exception of `zksync_core`).

## Why ❔

See #1696 for reasoning.

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
github-merge-queue bot pushed a commit that referenced this pull request Apr 25, 2024
## What ❔

Renames "miniblock" to "L2 block" in core components (ones remaining in
`zksync_core`).

## Why ❔

See #1696 for reasoning.

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
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.

None yet

3 participants