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
295
295
return Success (client);
296
296
}
297
297
298
- // lemma ConstructionOK(config : DdbMiddlewareConfig.Config)
299
- // requires Operations.ValidInternalConfig?(config)
300
- // ensures new DynamoDbEncryptionTransformsClient(newConfig).ValidState()
301
-
302
298
class DynamoDbEncryptionTransformsClient ... {
303
299
304
300
predicate {:vcs_split_on_every_assert} ValidState ()
@@ -310,16 +306,11 @@ module {:extern "software.amazon.cryptography.dbencryptionsdk.dynamodb.transform
310
306
311
307
constructor {:vcs_split_on_every_assert} (config: Operations. InternalConfig)
312
308
{
313
- assert Operations. ValidInternalConfig?(config);
314
309
this . config := config;
315
310
History := new IDynamoDbEncryptionTransformsClientCallHistory ();
316
311
Modifies := Operations. ModifiesInternalConfig (config) + {History};
317
312
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);
322
314
}
323
-
324
315
}
325
316
}
You can’t perform that action at this time.
0 commit comments