Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@guildofweavers/genstark

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guildofweavers/genstark - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

2

lib/components/CompositionPolynomial.js

@@ -19,3 +19,3 @@ "use strict";

// degree of composition polynomial is deg(C(x)) = deg(Q(x)) - deg(Z(x))
this.compositionDegree = this.combinationDegree - context.traceLength;
this.compositionDegree = Math.max(this.combinationDegree - context.traceLength, context.traceLength);
// group transition constraints together by their degree

@@ -22,0 +22,0 @@ this.constraintGroups = groupTransitionConstraints(constraints, context.traceLength);

@@ -36,3 +36,7 @@ "use strict";

}
offset = buffer.writeUInt8(proof.ldProof.remainder.length, offset);
// for remainder array length, zero means 256
const remainderLength = (proof.ldProof.remainder.length === 256)
? 0
: proof.ldProof.remainder.length;
offset = buffer.writeUInt8(remainderLength, offset);
for (let value of proof.ldProof.remainder) {

@@ -39,0 +43,0 @@ offset = utils.writeBigInt(value, buffer, offset, this.fieldElementSize);

{
"name": "@guildofweavers/genstark",
"version": "0.5.6",
"version": "0.5.7",
"description": "zk-STARK generation library",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc