Skip to content

Commit

Permalink
Removed dead definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
erabinov committed Jun 18, 2024
1 parent 5772576 commit 18234ce
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion recursion/gnark-ffi/go/sp1/babybear/babybear.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
)

var modulus = new(big.Int).SetUint64(2013265921)
var W = new(big.Int).SetUint64(11)

func init() {
solver.RegisterHint(invFHint)
Expand Down
3 changes: 1 addition & 2 deletions recursion/gnark-ffi/go/sp1/poseidon2/poseidon2.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const degree = 5
type Poseidon2Chip struct {
api frontend.API
internal_linear_layer [width]frontend.Variable
zero, one frontend.Variable
zero frontend.Variable
}

func NewChip(api frontend.API) *Poseidon2Chip {
Expand All @@ -24,7 +24,6 @@ func NewChip(api frontend.API) *Poseidon2Chip {
frontend.Variable(2),
},
zero: frontend.Variable(0),
one: frontend.Variable(1),
}
}

Expand Down
1 change: 0 additions & 1 deletion recursion/gnark-ffi/go/sp1/poseidon2/poseidon2_babybear.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
const BABYBEAR_WIDTH = 16
const babybearNumExternalRounds = 8
const babybearNumInternalRounds = 13
const BABYBEAR_DEGREE = 7

type Poseidon2BabyBearChip struct {
api frontend.API
Expand Down
1 change: 0 additions & 1 deletion recursion/gnark-ffi/go/sp1/sp1.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
var srsFile string = "srs.bin"
var srsLagrangeFile string = "srs_lagrange.bin"
var constraintsJsonFile string = "constraints.json"
var WITNESS_JSON_FILE string = "witness.json"
var verifierContractPath string = "PlonkVerifier.sol"
var circuitPath string = "circuit.bin"
var vkPath string = "vk.bin"
Expand Down

0 comments on commit 18234ce

Please sign in to comment.