mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Commented out BLS validation because it breaks CI (#5755)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
This commit is contained in:
parent
90d26a3f46
commit
45f1c99b50
4
Makefile
4
Makefile
@ -18,6 +18,8 @@ DOCKER_TAG ?= thorax/erigon:latest
|
||||
# Go to be available, but with docker it's not strictly necessary
|
||||
CGO_CFLAGS := $(shell $(GO) env CGO_CFLAGS 2>/dev/null) # don't lose default
|
||||
CGO_CFLAGS += -DMDBX_FORCE_ASSERTIONS=0 # Enable MDBX's asserts by default in 'devel' branch and disable in releases
|
||||
CGO_CFLAGS += -O
|
||||
CGO_CFLAGS += -D__BLST_PORTABLE__
|
||||
CGO_CFLAGS := CGO_CFLAGS="$(CGO_CFLAGS)"
|
||||
DBG_CGO_CFLAGS += -DMDBX_DEBUG=1
|
||||
|
||||
@ -29,7 +31,7 @@ GO_FLAGS += -ldflags "-X ${PACKAGE}/params.GitCommit=${GIT_COMMIT} -X ${PACKAGE}
|
||||
|
||||
GOBUILD = $(CGO_CFLAGS) $(GO) build $(GO_FLAGS)
|
||||
GO_DBG_BUILD = $(DBG_CGO_CFLAGS) $(GO) build $(GO_FLAGS) -tags $(BUILD_TAGS),debug -gcflags=all="-N -l" # see delve docs
|
||||
GOTEST = GODEBUG=cgocheck=0 $(GO) test $(GO_FLAGS) ./... -p 2
|
||||
GOTEST = $(CGO_CFLAGS) GODEBUG=cgocheck=0 $(GO) test $(GO_FLAGS) ./... -p 2
|
||||
|
||||
default: all
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Apache License
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
|
@ -7,6 +7,7 @@ import (
|
||||
"github.com/ledgerwatch/erigon/cmd/lightclient/fork"
|
||||
"github.com/ledgerwatch/erigon/cmd/lightclient/utils"
|
||||
"github.com/ledgerwatch/erigon/common"
|
||||
|
||||
blst "github.com/supranational/blst/bindings/go"
|
||||
)
|
||||
|
||||
@ -113,6 +114,8 @@ func (l *LightClient) validateUpdate(update *cltypes.LightClientUpdate) (bool, e
|
||||
return false, err
|
||||
}
|
||||
_ = signingRoot
|
||||
_ = pubkeys
|
||||
|
||||
signature, err := utils.SignatureFromBytes(update.SyncAggregate.SyncCommiteeSignature[:])
|
||||
if err != nil {
|
||||
return false, err
|
||||
|
Loading…
Reference in New Issue
Block a user