Closed lucasmcdonald3 closed 2 months ago
I find if I open dafny/DynamoDbEncryptionTransforms/src/Index.dfy
in the IDE, I do see the same error as the CLI produces.
The issue is not in the ...Types.dfy
file that defines the ensures
clause on the DynamoDbEncryptionTransforms
method defined by the abstract module, it's that the concrete refining modules in the ...Index.dfy
file doesn't satisfy that ensures clause (or rather Dafny isn't able to prove it does).
Dafny version
4.8.1
Code to produce this issue
Command to run and resulting output
What happened?
Crypto Tools recently updated a Smithy model and re-generated Dafny code with Smithy-Dafny. The generated Dafny fails to verify using the CLI (and in CI that uses the CLI), but verifies in the VS Code IDE. See example failure in CI: https://github.com/aws/aws-database-encryption-sdk-dynamodb/actions/runs/11074702103/job/30774100254
What type of operating system are you experiencing the problem on?
Linux, Mac