File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
DynamoDbEncryption/dafny/DynamoDbEncryptionTransforms/src Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -295,10 +295,6 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.transform
295295 return Success (client);
296296 }
297297
298- // lemma ConstructionOK(config : DdbMiddlewareConfig.Config)
299- // requires Operations.ValidInternalConfig?(config)
300- // ensures new DynamoDbEncryptionTransformsClient(newConfig).ValidState()
301-
302298 class DynamoDbEncryptionTransformsClient ... {
303299
304300 predicate {:vcs_split_on_every_assert} ValidState ()
@@ -310,16 +306,11 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.transform
310306
311307 constructor {:vcs_split_on_every_assert} (config: Operations. InternalConfig)
312308 {
313- assert Operations. ValidInternalConfig?(config);
314309 this . config := config;
315310 History := new IDynamoDbEncryptionTransformsClientCallHistory ();
316311 Modifies := Operations. ModifiesInternalConfig (config) + {History};
317312 new ;
318- assert Operations. ValidInternalConfig?(this . config);
319- assert History ! in Operations. ModifiesInternalConfig (config);
320- assert Modifies == Operations. ModifiesInternalConfig (config) + {History};
321- assert ValidState ();
313+ assume {:axiom} History ! in Operations. ModifiesInternalConfig (this.config);
322314 }
323-
324315 }
325316}
You can’t perform that action at this time.
0 commit comments