Skip to content

Commit bb42dcf

Browse files
authored
fix(eth-sender): Fix selector for old batches (#4489)
## What ❔ Use the correct encoding function for execute transaction ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- The `Why` has to be clear to non-Matter Labs entities running their own ZK Chain --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Is this a breaking change? - [ ] Yes - [ ] No ## Operational changes <!-- Any config changes? Any new flags? Any changes to any scripts? --> <!-- Please add anything that non-Matter Labs entities running their own ZK Chain may need to know --> ## 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 `zkstack dev fmt` and `zkstack dev lint`. Signed-off-by: Danil <[email protected]>
1 parent 7692f31 commit bb42dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/node/eth_sender/src/eth_tx_aggregator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ impl EthTxAggregator {
10051005
&& chain_protocol_version_id.is_pre_gateway()
10061006
{
10071007
&self.functions.post_shared_bridge_execute
1008-
} else if protocol_version.is_pre_interop_fast_blocks() {
1008+
} else if chain_protocol_version_id.is_pre_interop_fast_blocks() {
10091009
&self.functions.post_v26_gateway_execute
10101010
} else {
10111011
&self.functions.post_v29_interop_execute

0 commit comments

Comments
 (0)