Skip to content

Commit a03da5d

Browse files
fix(datastore): (re)expose key types used in delete operations
If the types are placed in an internal package, it's impossible to directly use the delete operations from another changeset.
1 parent 15b3d1c commit a03da5d

18 files changed

Lines changed: 17 additions & 17 deletions

datastore/changesets/delete_address_ref.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
99
cldfops "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1010

11-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
11+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1212
"github.com/smartcontractkit/cld-changesets/datastore/operations"
1313
)
1414

datastore/changesets/delete_address_ref_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
cldfoperations "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1414
cldflogger "github.com/smartcontractkit/chainlink-deployments-framework/pkg/logger"
1515

16-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
16+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1717
)
1818

1919
func TestDeleteAddressRefChangeset_VerifyPreconditions(t *testing.T) {

datastore/changesets/delete_chain_metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
99
cldfops "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1010

11-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
11+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1212
"github.com/smartcontractkit/cld-changesets/datastore/operations"
1313
)
1414

datastore/changesets/delete_chain_metadata_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
cldfoperations "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1313
cldflogger "github.com/smartcontractkit/chainlink-deployments-framework/pkg/logger"
1414

15-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
15+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1616
)
1717

1818
func TestDeleteChainMetadataChangeset_VerifyPreconditions(t *testing.T) {

datastore/changesets/delete_contract_metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
99
cldfops "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1010

11-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
11+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1212
"github.com/smartcontractkit/cld-changesets/datastore/operations"
1313
)
1414

datastore/changesets/delete_contract_metadata_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
cldfoperations "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1313
cldflogger "github.com/smartcontractkit/chainlink-deployments-framework/pkg/logger"
1414

15-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
15+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1616
)
1717

1818
func TestDeleteContractMetadataChangeset_VerifyPreconditions(t *testing.T) {

datastore/changesets/delete_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
99
cldfops "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1010

11-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
11+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1212
datastoreseqs "github.com/smartcontractkit/cld-changesets/datastore/sequences"
1313
)
1414

datastore/changesets/delete_resources_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
cldfoperations "github.com/smartcontractkit/chainlink-deployments-framework/operations"
1414
cldflogger "github.com/smartcontractkit/chainlink-deployments-framework/pkg/logger"
1515

16-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
16+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1717
)
1818

1919
func TestDeleteResourcesChangeset_VerifyPreconditions(t *testing.T) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
cldfdatastore "github.com/smartcontractkit/chainlink-deployments-framework/datastore"
1111

12-
"github.com/smartcontractkit/cld-changesets/datastore/internal/keys"
12+
"github.com/smartcontractkit/cld-changesets/datastore/keys"
1313
)
1414

1515
func TestChainMetadataKey_JSONRoundTrip(t *testing.T) {

0 commit comments

Comments
 (0)