Skip to content

Commit

Permalink
fix(core): add tree url to jsonrpsee server on main node (#512)
Browse files Browse the repository at this point in the history
## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] 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`.
  • Loading branch information
montekki committed Nov 17, 2023
1 parent 146e4cf commit 7c137b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/zksync_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,7 @@ async fn run_http_api<G: L1GasPriceProvider + Send + Sync + 'static>(
.with_last_miniblock_pool(last_miniblock_pool)
.with_filter_limit(api_config.web3_json_rpc.filters_limit())
.with_threads(api_config.web3_json_rpc.http_server_threads())
.with_tree_api(api_config.web3_json_rpc.tree_api_url())
.with_batch_request_size_limit(api_config.web3_json_rpc.max_batch_request_size())
.with_response_body_size_limit(api_config.web3_json_rpc.max_response_body_size())
.with_tx_sender(tx_sender, vm_barrier)
Expand Down

0 comments on commit 7c137b7

Please sign in to comment.