Skip to content

feat: handle unexpected unbonding tx #228

feat: handle unexpected unbonding tx

feat: handle unexpected unbonding tx #228

Triggered via pull request January 13, 2025 09:54
Status Failure
Total duration 2m 41s
Billable time 3m
Artifacts 2

ci.yml

on: pull_request
docker_pipeline  /  prepare-metadata
0s
docker_pipeline / prepare-metadata
lint_test  /  build
28s
lint_test / build
lint_test  /  lint
32s
lint_test / lint
lint_test  /  unit-tests
42s
lint_test / unit-tests
lint_test  /  integration-tests
50s
lint_test / integration-tests
lint_test  /  check-mock-gen
0s
lint_test / check-mock-gen
lint_test  /  gosec
9s
lint_test / gosec
Matrix: docker_pipeline / docker_build
docker_pipeline  /  merge_dockerhub
0s
docker_pipeline / merge_dockerhub
docker_pipeline  /  merge_ecr
0s
docker_pipeline / merge_ecr
Fit to window
Zoom out
Zoom in

Annotations

14 errors
lint_test / build: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState
lint_test / build
Process completed with exit code 2.
lint_test / lint: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState (typecheck)
lint_test / lint: cmd/babylon-staking-indexer/main.go#L18
could not import github.com/babylonlabs-io/babylon-staking-indexer/internal/services (-: # github.com/babylonlabs-io/babylon-staking-indexer/internal/services
lint_test / lint: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState) (typecheck)
lint_test / lint: e2etest/test_manager.go#L22
could not import github.com/babylonlabs-io/babylon-staking-indexer/internal/services (-: # github.com/babylonlabs-io/babylon-staking-indexer/internal/services
lint_test / lint: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState) (typecheck)
lint_test / lint
issues found
lint_test / unit-tests: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState
lint_test / unit-tests
Process completed with exit code 2.
lint_test / integration-tests: internal/services/watch_btc_events.go#L391
cannot use &subState (value of type *"github.com/babylonlabs-io/babylon-staking-indexer/internal/types".DelegationSubState) as "github.com/babylonlabs-io/babylon-staking-indexer/internal/db".UpdateOption value in argument to s.db.UpdateBTCDelegationState
lint_test / integration-tests
Process completed with exit code 2.
docker_pipeline / docker_build (linux/amd64, ubuntu-24.04)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c LDFLAGS='-extldflags \"-static\" -v' CGO_ENABLED=1 CGO_LDFLAGS=\"$CGO_LDFLAGS -lstdc++ -lm -lsodium\" LINK_STATICALLY=true BUILD_TAGS=\"muslc\" make build" did not complete successfully: exit code: 2
docker_pipeline / docker_build (linux/arm64, ubuntu-24.04-arm64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c LDFLAGS='-extldflags \"-static\" -v' CGO_ENABLED=1 CGO_LDFLAGS=\"$CGO_LDFLAGS -lstdc++ -lm -lsodium\" LINK_STATICALLY=true BUILD_TAGS=\"muslc\" make build" did not complete successfully: exit code: 2

Artifacts

Produced during runtime
Name Size
babylonlabs-io~babylon-staking-indexer~I7L6AI.dockerbuild
32.2 KB
babylonlabs-io~babylon-staking-indexer~YUHXW2.dockerbuild
31.9 KB