Skip to content
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
7 changes: 3 additions & 4 deletions deployment/ccip/shared/deployergroup/deployer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,13 @@ func (d *DeployerGroup) enactMcms() (cldf.ChangesetOutput, error) {
}

func getBatchCountForChain(chain mcmstypes.ChainSelector, timelockProposal *mcmslib.TimelockProposal) uint64 {
batches := make([]mcmstypes.BatchOperation, 0)
var count uint64
for _, batchOperation := range timelockProposal.Operations {
if batchOperation.ChainSelector == chain {
batches = append(batches, batchOperation)
count++
}
}

return uint64(len(batches))
return count
}

func (d *DeployerGroup) enactDeployer() (cldf.ChangesetOutput, error) {
Expand Down
Loading