Skip to content

Commit

Permalink
bump v0.2.2-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqjasoria committed Jan 23, 2024
1 parent d5fa1c2 commit fab054d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/Nethermind.Verkle/Fields/FrEElement/Element.Arithmatic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ public static void AddMod(in FE a, in FE b, out FE res)
// return;
// }

if (!LessThanSubModulus(res))
{
if (SubtractUnderflow(res, qElement, out res))
throw new InvalidConstraintException("this should now be possible");
}
if (LessThan(res, qElement)) return;
if (SubtractUnderflow(res, qElement, out res))
throw new InvalidConstraintException("this should now be possible");
}

public static void Divide(in FE x, in FE y, out FE z)
Expand Down
2 changes: 1 addition & 1 deletion src/Nethermind.Verkle/Nethermind.Verkle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<PropertyGroup Label="Nethermind">
<Version>0.2.1-alpha</Version>
<Version>0.2.2-alpha</Version>
<Authors>Tanishq Jasoria</Authors>
<Company>Nethermind</Company>
<Copyright>Demerzel Solutions Limited</Copyright>
Expand Down

0 comments on commit fab054d

Please sign in to comment.