Skip to content

Commit

Permalink
debug panic bsc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Jul 29, 2024
1 parent 83a9b13 commit ea770d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
- v*

env:
IMAGE_NAME: bsc
IMAGE_NAME: bsc-client
IMAGE_SOURCE: https://github.com/${{ github.repository }}

jobs:
# Push image to GitHub Packages.
Expand All @@ -21,14 +22,14 @@ jobs:
- name: Build image
run: |
docker build . \
--label "org.opencontainers.image.source=${{ secrets.IMAGE_SOURCE }}" \
--label "org.opencontainers.image.source=${IMAGE_SOURCE}" \
--label "org.opencontainers.image.revision=$(git rev-parse HEAD)" \
--label "org.opencontainers.image.version=$(git describe --tags --abbrev=0)" \
--label "org.opencontainers.image.licenses=LGPL-3.0,GPL-3.0" \
-f ./Dockerfile -t "${IMAGE_NAME}"
- name: Log into registry
run: echo "${{ secrets.PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Push image
run: |
Expand All @@ -48,4 +49,3 @@ jobs:
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker push $IMAGE_ID:$VERSION
docker push $IMAGE_ID:latest
1 change: 1 addition & 0 deletions eth/downloader/fetchers_concurrent_bodies.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (q *bodyQueue) deliver(peer *peerConnection, packet *eth.Response) (int, er
peer.log.Trace("Delivered new batch of bodies", "count", len(txs), "accepted", accepted)
default:
peer.log.Debug("Failed to deliver retrieved bodies", "err", err)
panic(err)
}
return accepted, err
}

0 comments on commit ea770d2

Please sign in to comment.