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

chore: pin links in tx filtering doc to the commit #284

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ To disable L1→L2 filtering, the same function that registers the filtered to t

To filter the transactions sent via the API, operators shall include filtering logic before txs get to the mempool.

To do this, an alternative [`TxSinkLayer`](https://github.com/matter-labs/zksync-era/blob/main/core/node/node_framework/src/implementations/layers/web3_api/tx_sink.rs)
To do this, an alternative [`TxSinkLayer`](https://github.com/matter-labs/zksync-era/blob/7ace594fb3140212bd94ffd6bffcac99805cf4b1/core/node/node_framework/src/implementations/layers/web3_api/tx_sink/master_pool_sink.rs)
must be implemented and used by the `node framework` by modifying the code
[here](https://github.com/matter-labs/zksync-era/blob/main/core/bin/zksync_server/src/node_builder.rs#L230).
[here](https://github.com/matter-labs/zksync-era/blob/7ace594fb3140212bd94ffd6bffcac99805cf4b1/core/bin/zksync_server/src/node_builder.rs#L332).
For reference,

- See [Node Framework example](https://github.com/matter-labs/zksync-era/blob/main/core/node/node_framework/examples/main_node.rs#L416)
- See [Node Framework example](https://github.com/matter-labs/zksync-era/blob/7ace594fb3140212bd94ffd6bffcac99805cf4b1/core/node/node_framework/examples/showcase.rs#L253)
- See [example implementation](https://github.com/matter-labs/zksync-era/pull/1782)

#### Note on Withdrawals
Expand Down
Loading