Skip to content

Commit aa8fb57

Browse files
committed
use github/simplex
1 parent 3a40f8e commit aa8fb57

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ module github.com/ava-labs/avalanchego
99
// - Consider updating the version of golangci-lint (in scripts/lint.sh).
1010
go 1.23.9
1111

12-
replace simplex => ../Simplex
13-
1412
require (
1513
github.com/DataDog/zstd v1.5.2
1614
github.com/NYTimes/gziphandler v1.1.1
@@ -199,5 +197,4 @@ require (
199197
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
200198
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
201199
sigs.k8s.io/yaml v1.3.0 // indirect
202-
simplex v0.0.0-00010101000000-000000000000
203200
)

simplex/bls.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ import (
77
"encoding/asn1"
88
"errors"
99
"fmt"
10-
"simplex"
1110

1211
"github.com/ava-labs/avalanchego/ids"
1312
"github.com/ava-labs/avalanchego/utils/crypto/bls"
13+
"github.com/ava-labs/simplex"
1414
)
1515

1616
var (
1717
errSignatureVerificationFailed = errors.New("signature verification failed")
1818
errSignerNotFound = errors.New("signer not found in the membership set")
1919
)
2020

21+
var _ simplex.Signer = (*BLSSigner)(nil)
22+
2123
type SignFunc func(msg []byte) (*bls.Signature, error)
2224

2325
// BLSSigner signs messages encoded with the provided ChainID and NetworkID

0 commit comments

Comments
 (0)