Skip to content

Commit

Permalink
Merge branch 'main' into aov-pla-1029-fix-connection-starvation-durin…
Browse files Browse the repository at this point in the history
…g-snapshot-recovery
  • Loading branch information
slowli authored Sep 10, 2024
2 parents afe78b7 + fe08677 commit a8f6d89
Show file tree
Hide file tree
Showing 13 changed files with 698 additions and 810 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci-core-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jobs:

- name: Show revert.log logs
if: always()
run: ci_run cat core/tests/revert-test/revert.log || true
run: ci_run cat logs/revert/default/server.log || true

- name: Show upgrade.log logs
if: always()
Expand Down Expand Up @@ -382,7 +382,11 @@ jobs:

- name: Run revert test
run: |
ENABLE_CONSENSUS=${{ matrix.consensus }} DEPLOYMENT_MODE=${{ matrix.deployment_mode }} PASSED_ENV_VARS="ENABLE_CONSENSUS,DEPLOYMENT_MODE" ci_run zk test i revert-en
ENABLE_CONSENSUS=${{ matrix.consensus }} \
DEPLOYMENT_MODE=${{ matrix.deployment_mode }} \
PASSED_ENV_VARS="ENABLE_CONSENSUS,DEPLOYMENT_MODE" \
ci_run zk test i revert-en
# test terminates the nodes, so we restart them.
if [[ "${{ matrix.deployment_mode }}" == "Rollup" ]]; then
ZKSYNC_ENV=docker ci_run zk server --components=$SERVER_COMPONENTS &>>server.log &
Expand Down Expand Up @@ -414,13 +418,13 @@ jobs:
if: always()
run: ci_run cat ext-node.log || true

- name: Show revert_main.log logs
- name: Show revert logs (main node)
if: always()
run: ci_run cat core/tests/revert-test/revert_main.log || true
run: ci_run cat logs/revert/en/default/server.log || true

- name: Show revert_ext.log logs
- name: Show revert logs (EN)
if: always()
run: ci_run cat core/tests/revert-test/revert_ext.log || true
run: ci_run cat logs/revert/en/default/external_node.log || true

- name: Show upgrade.log logs
if: always()
Expand Down
1 change: 1 addition & 0 deletions core/bin/zksync_server/src/node_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ impl MainNodeBuilder {
subscriptions_limit: Some(rpc_config.subscriptions_limit()),
batch_request_size_limit: Some(rpc_config.max_batch_request_size()),
response_body_size_limit: Some(rpc_config.max_response_body_size()),
with_extended_tracing: rpc_config.extended_api_tracing,
..Default::default()
};
self.node.add_layer(Web3ServerLayer::http(
Expand Down
Loading

0 comments on commit a8f6d89

Please sign in to comment.