Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
ajewellamz committed May 30, 2024
1 parent 30235cd commit 061fe9b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@ module DynamoToStruct {

function method ListAttrToBytes(l: ListAttributeValue, depth : nat): (ret: Result<seq<uint8>, string>)
ensures ret.Success? ==>
&& U32ToBigEndian(|l|).Success?
&& LENGTH_LEN <= |ret.value|
&& ret.value[..LENGTH_LEN] == U32ToBigEndian(|l|).value
&& U32ToBigEndian(|l|).Success?
&& LENGTH_LEN <= |ret.value|
&& ret.value[..LENGTH_LEN] == U32ToBigEndian(|l|).value
{
var count :- U32ToBigEndian(|l|);
var body :- CollectList(l, depth);
Expand Down

0 comments on commit 061fe9b

Please sign in to comment.