Skip to content

Commit

Permalink
try and and consolidate some things
Browse files Browse the repository at this point in the history
  • Loading branch information
texastony committed Nov 24, 2024
1 parent 7e8e60b commit 9d801ae
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ module {:options "/functionSyntax:4" } Mutations {
nameonly keyManagerStrategy: KmsUtils.keyManagerStrat,
nameonly storage: Types.AwsCryptographyKeyStoreTypes.IKeyStorageInterface
)
{
ghost predicate ValidState()
{
&& SystemKey.ValidState()
&& keyManagerStrategy.ValidState()
&& storage.ValidState()
&& SystemKey.Modifies !! keyManagerStrategy.Modifies !! storage.Modifies
}
ghost const Modifies := SystemKey.Modifies + keyManagerStrategy.Modifies + storage.Modifies
}

predicate ValidateQueryOutResults?(
applyMutationInput: Types.ApplyMutationInput,
Expand Down

0 comments on commit 9d801ae

Please sign in to comment.