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

fix(node): respect namespaces configuration #2578

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

pbeza
Copy link
Collaborator

@pbeza pbeza commented Aug 2, 2024

What ❔

Respect the configuration of namespaces when building the HTTP Web3 API layer.

Why ❔

This commit fixes a bug found when trying to run the node server with the following configuration:

API_WEB3_JSON_RPC_API_NAMESPACES=eth,web3,net,pubsub,zks,en,debug,unstable

This was added to the etc/env/target/dev.env file to test PR #2474. It turned out that the unstable namespace works fine for the WebSocket API but not for the HTTP API.

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.

@pbeza pbeza requested a review from popzxc August 2, 2024 13:24
@pbeza pbeza marked this pull request as ready for review August 2, 2024 13:24
@pbeza
Copy link
Collaborator Author

pbeza commented Aug 2, 2024

@popzxc, can you merge this pls? I'm not authorized.

@popzxc popzxc added this pull request to the merge queue Aug 2, 2024
Merged via the queue into main with commit e2d9060 Aug 2, 2024
53 checks passed
@popzxc popzxc deleted the fix/node_builder_default_namespaces branch August 2, 2024 15:49
github-merge-queue bot pushed a commit that referenced this pull request Aug 7, 2024
🤖 I have created a release *beep* *boop*
---


##
[24.15.0](core-v24.14.0...core-v24.15.0)
(2024-08-07)


### Features

* optimize LWG and NWG
([#2512](#2512))
([0d00650](0d00650))
* Poll the main node API for attestation status - relaxed (BFT-496)
([#2583](#2583))
([b45aa91](b45aa91))
* **zk_toolbox:** allow to run `zk_inception chain create`
non-interactively
([#2579](#2579))
([555fcf7](555fcf7))


### Bug Fixes

* **core:** Handle GCS Response retriable errors
([#2588](#2588))
([4b74092](4b74092))
* **node:** respect namespaces configuration
([#2578](#2578))
([e2d9060](e2d9060))
* **vm-runner:** Fix data race in storage loader
([1810b78](1810b78))


### Reverts

* "feat: Poll the main node for the next batch to sign (BFT-496)"
([#2574](#2574))
([72d3be8](72d3be8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: zksync-era-bot <[email protected]>
Co-authored-by: Roman Brodetski <[email protected]>
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