Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ jobs:
- name: Compile
run: |
go build -v -ldflags="-X github.com/${{ github.repository }}/cmd.ReleaseVersion=${{ needs.env_vars.outputs.release_version }} -extldflags -static"
choco install zip
zip --junk-paths ${{ needs.env_vars.outputs.binary }}-${{ needs.env_vars.outputs.release_version }}-windows-exe.zip ${{ needs.env_vars.outputs.binary }}.exe
choco install -y 7zip
7z a -tzip ${{ needs.env_vars.outputs.binary }}-${{ needs.env_vars.outputs.release_version }}-windows-exe.zip ${{ needs.env_vars.outputs.binary }}.exe
$FileHash=(certutil -hashfile ${{ needs.env_vars.outputs.binary }}-${{ needs.env_vars.outputs.release_version }}-windows-exe.zip SHA256 | findstr /v hash | findstr /v SHA).replace(" ", "")
echo "$FileHash" > ${{ needs.env_vars.outputs.binary }}-${{ needs.env_vars.outputs.release_version }}-windows-exe-zip.sha256

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (
)

// ReleaseVersion is the release version for the code.
var ReleaseVersion = "0.5.2"
var ReleaseVersion = "0.5.3"

func main() {
os.Exit(main2())
Expand Down
1 change: 1 addition & 0 deletions services/attestations/events/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (s *Service) monitorEvents(ctx context.Context,
nodeVersionProvider consensusclient.NodeVersionProvider,
) error {
if err := eventsProvider.Events(ctx, &api.EventsOpts{
Topics: []string{"attestation"},
AttestationHandler: func(ctx context.Context, event *spec.VersionedAttestation) {
data, err := event.Data()
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions services/blocks/events/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (s *Service) monitorEvents(ctx context.Context,
nodeVersionProvider consensusclient.NodeVersionProvider,
) error {
if err := eventsProvider.Events(ctx, &api.EventsOpts{
Topics: []string{"block"},
BlockHandler: func(ctx context.Context, event *apiv1.BlockEvent) {
delay := time.Since(s.chainTime.StartOfSlot(event.Slot))

Expand Down
1 change: 1 addition & 0 deletions services/heads/events/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (s *Service) monitorEvents(ctx context.Context,
nodeVersionProvider consensusclient.NodeVersionProvider,
) error {
if err := eventsProvider.Events(ctx, &api.EventsOpts{
Topics: []string{"head"},
HeadHandler: func(ctx context.Context, event *apiv1.HeadEvent) {
delay := time.Since(s.chainTime.StartOfSlot(event.Slot))

Expand Down
Loading