Skip to content

Commit a204f1a

Browse files
committed
fix: merge conflicts
1 parent 79c4ec4 commit a204f1a

2 files changed

Lines changed: 0 additions & 34 deletions

File tree

legacy/mcms/internal/family/evm/changesets/deploy_mcms_with_timelock.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
seqevm "github.com/smartcontractkit/cld-changesets/legacy/mcms/internal/family/evm/sequences"
1515
evmops "github.com/smartcontractkit/cld-changesets/legacy/mcms/oputils"
1616
evmstate "github.com/smartcontractkit/cld-changesets/legacy/pkg/family/evm"
17-
evmops "github.com/smartcontractkit/cld-changesets/mcms/evm/operations"
1817
)
1918

2019
// DeployMCMSOption is a function that modifies a TypeAndVersion before or after deployment.

legacy/mcms/oputils/oputils.go

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<<< HEAD:mcms/evm/operations/oputils.go
2-
package operations
3-
========
41
package oputils
5-
>>>>>>>> main:legacy/mcms/oputils/oputils.go
62

73
import (
84
"context"
@@ -368,35 +364,6 @@ func CloneTransactOptsWithGas(opts *bind.TransactOpts, gasLimit uint64, gasPrice
368364
return &newOpts
369365
}
370366

371-
// EVMCallOutputsToBatch converts unconfirmed EVM call outputs into a single batch operation.
372-
func EVMCallOutputsToBatch(chainSelector uint64, outs []EVMCallOutput) (mcmstypes.BatchOperation, error) {
373-
result := mcmstypes.BatchOperation{
374-
ChainSelector: mcmstypes.ChainSelector(chainSelector),
375-
Transactions: []mcmstypes.Transaction{},
376-
}
377-
378-
for _, out := range outs {
379-
if out.Confirmed {
380-
continue
381-
}
382-
383-
batchOperation, err := cldfproposalutils.BatchOperationForChain(
384-
chainSelector,
385-
out.To.Hex(),
386-
out.Data,
387-
big.NewInt(0),
388-
string(out.ContractType),
389-
[]string{},
390-
)
391-
if err != nil {
392-
return mcmstypes.BatchOperation{}, fmt.Errorf("failed to create batch operation for chain %d: %w", chainSelector, err)
393-
}
394-
result.Transactions = append(result.Transactions, batchOperation.Transactions...)
395-
}
396-
397-
return result, nil
398-
}
399-
400367
// GasBoostConfigsForChainMap creates a map of GasBoostConfig pointers for each chain in the provided chainMap.
401368
// If a chain selector exists in gasBoostConfigs, it uses that config; otherwise, it sets nil.
402369
func GasBoostConfigsForChainMap[T any](chainMap map[uint64]T, gasBoostConfigs map[uint64]cldfproposalutils.GasBoostConfig) map[uint64]*cldfproposalutils.GasBoostConfig {

0 commit comments

Comments
 (0)