Skip to content

Commit

Permalink
chore: pin links in tx filtering doc to the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dimazhornyk committed Dec 9, 2024
1 parent 98106cb commit 7cc6300
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/10.zk-stack/40.extending/20.transaction-filtering.md
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

0 comments on commit 7cc6300

Please sign in to comment.