Skip to content

Commit a975e70

Browse files
authored
refactor: remove proposals field from ChangesetOutput (#100)
Removes the `Proposals` field from the `ChangesetOutput` struct. Use the `MCMSTimelockProposals` struct instead which provides an implementation based on the upgraded `mcms` library BREAKING CHANGE: This field was previously marked as deprecated and has now been removed.
1 parent 3ac15df commit a975e70

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.changeset/cruel-keys-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": minor
3+
---
4+
5+
The deprecated `Proposals` field on the `ChangesetOutput` has been removed in favour of `MCMSTimelockProposals`

deployment/changeset.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"errors"
66
"fmt"
77

8-
"github.com/smartcontractkit/ccip-owner-contracts/pkg/proposal/timelock"
98
"github.com/smartcontractkit/mcms"
109

1110
"github.com/smartcontractkit/chainlink-deployments-framework/operations"
@@ -106,10 +105,8 @@ type ProposedJob struct {
106105
// this changeset.
107106
type ChangesetOutput struct {
108107
// Deprecated: Prefer Jobs instead.
109-
JobSpecs map[string][]string `deprecated:"true"`
110-
Jobs []ProposedJob
111-
// Deprecated: Prefer MCMSTimelockProposals instead, will be removed in future
112-
Proposals []timelock.MCMSWithTimelockProposal
108+
JobSpecs map[string][]string `deprecated:"true"`
109+
Jobs []ProposedJob
113110
MCMSTimelockProposals []mcms.TimelockProposal
114111
DescribedTimelockProposals []string
115112
MCMSProposals []mcms.Proposal

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ require (
99
github.com/ethereum/go-ethereum v1.15.3
1010
github.com/gagliardetto/solana-go v1.12.0
1111
github.com/google/uuid v1.6.0
12-
github.com/smartcontractkit/ccip-owner-contracts v0.1.0
1312
github.com/smartcontractkit/chain-selectors v1.0.57
1413
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250425163923-16aa375957b7
1514
github.com/smartcontractkit/chainlink-common v0.7.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMT
305305
github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
306306
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
307307
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
308-
github.com/smartcontractkit/ccip-owner-contracts v0.1.0 h1:GiBDtlx7539o7AKlDV+9LsA7vTMPv+0n7ClhSFnZFAk=
309-
github.com/smartcontractkit/ccip-owner-contracts v0.1.0/go.mod h1:NnT6w4Kj42OFFXhSx99LvJZWPpMjmo4+CpDEWfw61xY=
310308
github.com/smartcontractkit/chain-selectors v1.0.57 h1:KApvb/Kpn15YalY7khFQaHH3mb7teX7JF/gwvq3ti7M=
311309
github.com/smartcontractkit/chain-selectors v1.0.57/go.mod h1:xsKM0aN3YGcQKTPRPDDtPx2l4mlTN1Djmg0VVXV40b8=
312310
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250425163923-16aa375957b7 h1:j6Vo/NX2ABsPdGxETC5pfQLcz/h6iLJu/Yx+8AhPa34=

0 commit comments

Comments
 (0)