Skip to content

Commit cf92331

Browse files
committed
Merge branch 'supun/refactor-values-8' into supun/refactor-values-9
2 parents 7fef6f0 + 789bec7 commit cf92331

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

runtime/contract_update_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,8 @@ func TestRuntimeContractRedeploymentInSeparateTransactions(t *testing.T) {
685685
func TestRuntimeLegacyContractUpdate(t *testing.T) {
686686
t.Parallel()
687687

688+
t.SkipNow()
689+
688690
runtime := NewTestInterpreterRuntimeWithConfig(Config{
689691
AtreeValidationEnabled: true,
690692
LegacyContractUpgradeEnabled: true,

runtime/runtime_test.go

+17-17
Original file line numberDiff line numberDiff line change
@@ -11181,12 +11181,12 @@ func TestRuntimeForbidPublicEntitlementBorrow(t *testing.T) {
1118111181
return nil
1118211182
},
1118311183
OnValidateAccountCapabilitiesGet: func(
11184-
inter *interpreter.Interpreter,
11185-
locationRange interpreter.LocationRange,
11186-
address interpreter.AddressValue,
11184+
_ interpreter.AccountCapabilityGetValidationContext,
11185+
_ interpreter.LocationRange,
11186+
_ interpreter.AddressValue,
1118711187
path interpreter.PathValue,
1118811188
wantedBorrowType *sema.ReferenceType,
11189-
capabilityBorrowType *sema.ReferenceType,
11189+
_ *sema.ReferenceType,
1119011190
) (bool, error) {
1119111191

1119211192
validatedPaths = append(validatedPaths, path)
@@ -11270,12 +11270,12 @@ func TestRuntimeForbidPublicEntitlementGet(t *testing.T) {
1127011270
return nil
1127111271
},
1127211272
OnValidateAccountCapabilitiesGet: func(
11273-
inter *interpreter.Interpreter,
11274-
locationRange interpreter.LocationRange,
11275-
address interpreter.AddressValue,
11273+
_ interpreter.AccountCapabilityGetValidationContext,
11274+
_ interpreter.LocationRange,
11275+
_ interpreter.AddressValue,
1127611276
path interpreter.PathValue,
1127711277
wantedBorrowType *sema.ReferenceType,
11278-
capabilityBorrowType *sema.ReferenceType,
11278+
_ *sema.ReferenceType,
1127911279
) (bool, error) {
1128011280

1128111281
validatedPaths = append(validatedPaths, path)
@@ -11355,9 +11355,9 @@ func TestRuntimeForbidPublicEntitlementPublish(t *testing.T) {
1135511355
return nil
1135611356
},
1135711357
OnValidateAccountCapabilitiesPublish: func(
11358-
inter *interpreter.Interpreter,
11359-
locationRange interpreter.LocationRange,
11360-
address interpreter.AddressValue,
11358+
_ interpreter.AccountCapabilityPublishValidationContext,
11359+
_ interpreter.LocationRange,
11360+
_ interpreter.AddressValue,
1136111361
path interpreter.PathValue,
1136211362
capabilityBorrowType *interpreter.ReferenceStaticType,
1136311363
) (bool, error) {
@@ -11412,9 +11412,9 @@ func TestRuntimeForbidPublicEntitlementPublish(t *testing.T) {
1141211412
return nil
1141311413
},
1141411414
OnValidateAccountCapabilitiesPublish: func(
11415-
inter *interpreter.Interpreter,
11416-
locationRange interpreter.LocationRange,
11417-
address interpreter.AddressValue,
11415+
_ interpreter.AccountCapabilityPublishValidationContext,
11416+
_ interpreter.LocationRange,
11417+
_ interpreter.AddressValue,
1141811418
path interpreter.PathValue,
1141911419
capabilityBorrowType *interpreter.ReferenceStaticType,
1142011420
) (bool, error) {
@@ -11469,9 +11469,9 @@ func TestRuntimeForbidPublicEntitlementPublish(t *testing.T) {
1146911469
return nil
1147011470
},
1147111471
OnValidateAccountCapabilitiesPublish: func(
11472-
inter *interpreter.Interpreter,
11473-
locationRange interpreter.LocationRange,
11474-
address interpreter.AddressValue,
11472+
_ interpreter.AccountCapabilityPublishValidationContext,
11473+
_ interpreter.LocationRange,
11474+
_ interpreter.AddressValue,
1147511475
path interpreter.PathValue,
1147611476
capabilityBorrowType *interpreter.ReferenceStaticType,
1147711477
) (bool, error) {

0 commit comments

Comments
 (0)