Skip to content

Commit 584f01a

Browse files
authored
fix(zkstack): fix total_executed (#4628)
## 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? --> <!-- 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`.
1 parent 8d88cc7 commit 584f01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zkstack_cli/crates/zkstack/src/commands/chain/gateway/gateway_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ async fn get_batch_execution_status(
175175
let zk_chain_address = sl_bridgehub.get_zk_chain(U256::from(l2_chain_id)).await?;
176176
let zk_chain = ZkChainAbi::new(zk_chain_address, provider);
177177
let total_committed = zk_chain.get_total_batches_committed().await?;
178-
let total_executed = zk_chain.get_total_batches_committed().await?;
178+
let total_executed = zk_chain.get_total_batches_executed().await?;
179179

180180
Ok((total_committed, total_executed))
181181
}

0 commit comments

Comments
 (0)