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

Rename block -> batch where appropriate #33

Merged
merged 4 commits into from
Sep 27, 2023

Conversation

StanislavBreadless
Copy link
Collaborator

What ❔

Rename block to batch where appropriate.

Why ❔

The goal is to make it aligned with the corresponding code in system contracts.

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.

docs/Overview.md Show resolved Hide resolved
ethereum/contracts/zksync/facets/Executor.sol Outdated Show resolved Hide resolved
ethereum/contracts/zksync/interfaces/IExecutor.sol Outdated Show resolved Hide resolved
ethereum/test/unit_tests/executor_test.spec.ts Outdated Show resolved Hide resolved
const genesisRollupLeafIndex = getNumberFromEnv('CONTRACTS_GENESIS_ROLLUP_LEAF_INDEX');
const genesisBlockCommitment = getHashFromEnv('CONTRACTS_GENESIS_BLOCK_COMMITMENT');
const genesisBatchCommitment = getHashFromEnv('CONTRACTS_GENESIS_BATCH_COMMITMENT');
Copy link
Member

Choose a reason for hiding this comment

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

Do we really want to change this? Then we would need to change server specifically for this small change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For consistency yes. For production environments it won't matter, since genesis-related stuff is needed only for regenesis

@StanislavBreadless StanislavBreadless merged commit 9bd2411 into boojum-integration Sep 27, 2023
@StanislavBreadless StanislavBreadless deleted the sb-rename-l2-block-number branch September 27, 2023 09:46
0xVolosnikov added a commit that referenced this pull request Sep 25, 2024
* Cleanup EvmInterpreterFunctions

* Cleanup in logs

* Remove unneded changes

* Use rawMimicCall
koloz193 pushed a commit that referenced this pull request Dec 11, 2024
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